mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
@@ -2089,7 +2089,8 @@ void History::setLastMessage(HistoryItem *item) {
|
|||||||
if (_lastMessage) {
|
if (_lastMessage) {
|
||||||
if (*_lastMessage == item) {
|
if (*_lastMessage == item) {
|
||||||
return;
|
return;
|
||||||
} else if (!IsServerMsgId((*_lastMessage)->id)
|
} else if (*_lastMessage
|
||||||
|
&& !IsServerMsgId((*_lastMessage)->id)
|
||||||
&& (*_lastMessage)->date() > item->date()) {
|
&& (*_lastMessage)->date() > item->date()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user