mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-26 16:43:33 +00:00
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
Block a user