Fix postponing of updateChatReadInbox.
GitOrigin-RevId: 22d8244d438e0d67531cf8f334e87334597c328d
This commit is contained in:
parent
2b4d076323
commit
3e00a5e64b
@ -18062,7 +18062,8 @@ void MessagesManager::send_update_chat_read_inbox(const Dialog *d, bool force, c
|
||||
if (!td_->auth_manager_->is_bot()) {
|
||||
CHECK(d->is_update_new_chat_sent) << "Wrong " << d->dialog_id << " in send_update_chat_read_inbox from " << source;
|
||||
on_dialog_updated(d->dialog_id, source);
|
||||
if (!force && (running_get_difference_ || running_get_channel_difference(d->dialog_id))) {
|
||||
if (!force && (running_get_difference_ || running_get_channel_difference(d->dialog_id) ||
|
||||
get_channel_difference_to_logevent_id_.count(d->dialog_id) != 0)) {
|
||||
LOG(INFO) << "Postpone updateChatReadInbox in " << d->dialog_id << "(" << get_dialog_title(d->dialog_id)
|
||||
<< ") to " << d->server_unread_count << " + " << d->local_unread_count << " from " << source;
|
||||
postponed_chat_read_inbox_updates_.insert(d->dialog_id);
|
||||
|
Reference in New Issue
Block a user