mirror of
https://github.com/vale981/tdesktop
synced 2025-03-05 09:41:41 -05:00
Fix another crash in last message checking.
Regression was introduced in 83bc6fb39c
.
This commit is contained in:
parent
c9ad2cd1aa
commit
83c5a67af5
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue