2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Remove supergroup migrate messages.

This commit is contained in:
John Preston
2019-01-15 15:57:45 +04:00
parent c552db04d7
commit 2a0b9a44dd
40 changed files with 695 additions and 481 deletions

View File

@@ -102,7 +102,7 @@ void Entry::setChatListExistence(bool exists) {
}
TimeId Entry::adjustChatListTimeId() const {
return chatsListTimeId();
return chatListTimeId();
}
void Entry::changedInChatListHook(Dialogs::Mode list, bool added) {
@@ -135,13 +135,13 @@ PositionChange Entry::adjustByPosInChatList(
return { movedFrom, movedTo };
}
void Entry::setChatsListTimeId(TimeId date) {
if (_lastMessageTimeId && _lastMessageTimeId >= date) {
void Entry::setChatListTimeId(TimeId date) {
if (_timeId && _timeId >= date) {
if (!inChatList(Dialogs::Mode::All)) {
return;
}
}
_lastMessageTimeId = date;
_timeId = date;
updateChatListSortPosition();
}