Always ignore updateReadHistoryInbox.still_unread_count, because it can be wrong even in updates.
GitOrigin-RevId: ff2222911c995605d813a942ccf833b7e7d620bb
This commit is contained in:
parent
5e99992420
commit
14f1b3cd4b
@ -6251,8 +6251,8 @@ void MessagesManager::process_update(tl_object_ptr<telegram_api::Update> &&updat
|
||||
folder_id = FolderId(read_update->folder_id_);
|
||||
}
|
||||
on_update_dialog_folder_id(dialog_id, folder_id);
|
||||
read_history_inbox(dialog_id, MessageId(ServerMessageId(read_update->max_id_)), read_update->still_unread_count_,
|
||||
"updateReadHistoryInbox");
|
||||
read_history_inbox(dialog_id, MessageId(ServerMessageId(read_update->max_id_)),
|
||||
-1 /*read_update->still_unread_count*/, "updateReadHistoryInbox");
|
||||
break;
|
||||
}
|
||||
case telegram_api::updateReadHistoryOutbox::ID: {
|
||||
|
Reference in New Issue
Block a user