mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 06:07:45 +00:00
parent
818662c2e6
commit
fe1f198d99
@ -2089,8 +2089,9 @@ void History::setLastMessage(HistoryItem *item) {
|
||||
if (_lastMessage) {
|
||||
if (*_lastMessage == item) {
|
||||
return;
|
||||
} else if (!IsServerMsgId((*_lastMessage)->id)
|
||||
&& (*_lastMessage)->date() > item->date()) {
|
||||
} else if (*_lastMessage
|
||||
&& !IsServerMsgId((*_lastMessage)->id)
|
||||
&& (*_lastMessage)->date() > item->date()) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user