From ab3f7856a9efb655c24365e8b1100e96bed80e26 Mon Sep 17 00:00:00 2001 From: levlam Date: Mon, 3 Oct 2022 17:22:20 +0300 Subject: [PATCH] Explicitly ignore READ_REACTION notifications. --- td/telegram/NotificationManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/NotificationManager.cpp b/td/telegram/NotificationManager.cpp index a6f9ec84d..3151095d6 100644 --- a/td/telegram/NotificationManager.cpp +++ b/td/telegram/NotificationManager.cpp @@ -3257,7 +3257,7 @@ Status NotificationManager::process_push_notification_payload(string payload, bo return Status::Error(406, "Phone call notification is not supported"); } - if (begins_with(loc_key, "REACT_")) { + if (begins_with(loc_key, "REACT_") || loc_key == "READ_REACTION") { // TODO REACT_* notifications return Status::Error(406, "Reaction notifications are unsupported"); }