mirror of https://github.com/procxx/kepka.git
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…
Reference in New Issue