Do not delay notifications about local messages.

GitOrigin-RevId: 87a4807010a6bf662b312a94aee2ac31b481ff9e
This commit is contained in:
levlam 2019-03-26 16:39:15 +03:00
parent 498765fa8d
commit 6888403d61

View File

@ -14,7 +14,7 @@ namespace td {
class NotificationTypeMessage : public NotificationType {
bool can_be_delayed() const override {
return true;
return message_id_.is_valid() && message_id_.is_server();
}
MessageId get_message_id() const override {