2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 00:46:08 +00:00

Track forum unread state by topics inside.

This commit is contained in:
John Preston
2022-10-19 17:55:33 +04:00
parent a292f8a34e
commit 08ba277327
12 changed files with 116 additions and 30 deletions

View File

@@ -71,17 +71,6 @@ Folder::Folder(not_null<Data::Session*> owner, FolderId id)
}, _lifetime);
}
void Folder::updateChatListEntryPostponed() {
if (_updateChatListEntryPostponed) {
return;
}
_updateChatListEntryPostponed = true;
Ui::PostponeCall(this, [=] {
updateChatListEntry();
_updateChatListEntryPostponed = false;
});
}
FolderId Folder::id() const {
return _id;
}