Always show check marks on outgoing service messages.

This commit is contained in:
John Preston 2021-02-12 14:51:53 +04:00
parent 3cd05a34d9
commit c935f1bb16
2 changed files with 2 additions and 4 deletions

View File

@ -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 {

View File

@ -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 {