1
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-04-21 14:48:29 +00:00

Fix changelog dialogs list appearance.

Fixes , fixes .
This commit is contained in:
John Preston 2019-02-11 15:51:16 +03:00
parent dbb7568b92
commit 83bc6fb39c

View File

@ -2086,8 +2086,13 @@ void History::markFullyLoaded() {
}
void History::setLastMessage(HistoryItem *item) {
if (_lastMessage && *_lastMessage == item) {
return;
if (_lastMessage) {
if (*_lastMessage == item) {
return;
} else if (!IsServerMsgId((*_lastMessage)->id)
&& (*_lastMessage)->date() > item->date()) {
return;
}
}
_lastMessage = item;
_chatListMessage = std::nullopt;