mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 08:33:45 +08:00
Some internal HistoryItem refactoring.
Replace most IsServerMsgId / id <=> 0 with isRegular(). Track isLocal / isHistoryEntry in flags. Remove toHistoryMessage.
This commit is contained in:
@@ -417,7 +417,7 @@ void paintRow(
|
||||
: st::dialogsSendingIcon));
|
||||
}
|
||||
} else if (item && !item->isEmpty() && item->needCheck()) {
|
||||
if (item->id > 0) {
|
||||
if (!item->isSending() && !item->hasFailed()) {
|
||||
if (item->unread()) {
|
||||
return &(active
|
||||
? st::dialogsSentIconActive
|
||||
|
||||
Reference in New Issue
Block a user