Force data loading on MESSAGE_MUTED.

GitOrigin-RevId: 1911c676b7c25fe4334c2ef1f1dc2395e39b27f9
This commit is contained in:
levlam 2020-06-16 00:25:12 +03:00
parent 6a7dfc4f01
commit 44cd25afae
1 changed files with 3 additions and 1 deletions

View File

@ -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");
}