Explicitly ignore READ_REACTION notifications.

This commit is contained in:
levlam 2022-10-03 17:22:20 +03:00
parent 628b8901bc
commit ab3f7856a9

View File

@ -3257,7 +3257,7 @@ Status NotificationManager::process_push_notification_payload(string payload, bo
return Status::Error(406, "Phone call notification is not supported"); 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 // TODO REACT_* notifications
return Status::Error(406, "Reaction notifications are unsupported"); return Status::Error(406, "Reaction notifications are unsupported");
} }