mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Always show check marks on outgoing service messages.
This commit is contained in:
parent
3cd05a34d9
commit
c935f1bb16
2 changed files with 2 additions and 4 deletions
|
@ -775,7 +775,7 @@ void HistoryItem::sendFailed() {
|
|||
}
|
||||
|
||||
bool HistoryItem::needCheck() const {
|
||||
return out() || (id < 0 && history()->peer->isSelf());
|
||||
return (out() && !isEmpty()) || (id < 0 && history()->peer->isSelf());
|
||||
}
|
||||
|
||||
bool HistoryItem::unread() const {
|
||||
|
|
|
@ -792,9 +792,7 @@ bool HistoryService::updateDependencyItem() {
|
|||
}
|
||||
|
||||
bool HistoryService::needCheck() const {
|
||||
return out()
|
||||
&& ((GetDependentData() != nullptr)
|
||||
|| Has<HistoryServiceSelfDestruct>());
|
||||
return out() && !isEmpty();
|
||||
}
|
||||
|
||||
QString HistoryService::inDialogsText(DrawInDialog way) const {
|
||||
|
|
Loading…
Add table
Reference in a new issue