mirror of https://github.com/procxx/kepka.git
Fix another crash in last message checking.
Regression was introduced in 83bc6fb39c
.
This commit is contained in:
parent
c9ad2cd1aa
commit
83c5a67af5
|
@ -2090,6 +2090,7 @@ void History::setLastMessage(HistoryItem *item) {
|
|||
if (*_lastMessage == item) {
|
||||
return;
|
||||
} else if (*_lastMessage
|
||||
&& item
|
||||
&& !IsServerMsgId((*_lastMessage)->id)
|
||||
&& (*_lastMessage)->date() > item->date()) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue