Do not delay notifications about local messages.
GitOrigin-RevId: 87a4807010a6bf662b312a94aee2ac31b481ff9e
This commit is contained in:
parent
498765fa8d
commit
6888403d61
@ -14,7 +14,7 @@ namespace td {
|
|||||||
|
|
||||||
class NotificationTypeMessage : public NotificationType {
|
class NotificationTypeMessage : public NotificationType {
|
||||||
bool can_be_delayed() const override {
|
bool can_be_delayed() const override {
|
||||||
return true;
|
return message_id_.is_valid() && message_id_.is_server();
|
||||||
}
|
}
|
||||||
|
|
||||||
MessageId get_message_id() const override {
|
MessageId get_message_id() const override {
|
||||||
|
Loading…
Reference in New Issue
Block a user