Force data loading on MESSAGE_MUTED.
GitOrigin-RevId: 1911c676b7c25fe4334c2ef1f1dc2395e39b27f9
This commit is contained in:
parent
6a7dfc4f01
commit
44cd25afae
@ -3073,7 +3073,9 @@ Status NotificationManager::process_push_notification_payload(string payload, bo
|
||||
dialog_id = DialogId(secret_chat_id);
|
||||
}
|
||||
if (!dialog_id.is_valid()) {
|
||||
// TODO if (loc_key == "ENCRYPTED_MESSAGE") ?
|
||||
if (loc_key == "ENCRYPTED_MESSAGE" || loc_key == "MESSAGE_MUTED") {
|
||||
return Status::Error(406, "Force loading data from the server");
|
||||
}
|
||||
return Status::Error("Can't find dialog_id");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user