Allow unordered updateNewMessage for bots.
GitOrigin-RevId: 3aa3e6143eb0558f1a822ece051b9666725f0301
This commit is contained in:
parent
4d8c9a3a60
commit
b1dc75cdc4
@ -26449,7 +26449,7 @@ MessagesManager::Message *MessagesManager::add_message_to_dialog(Dialog *d, uniq
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
if (*need_update && message_id <= d->last_new_message_id) {
|
||||
if (*need_update && message_id <= d->last_new_message_id && !td_->auth_manager_->is_bot()) {
|
||||
*need_update = false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user