mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-04 00:15:42 +00:00
Always show check marks on outgoing service messages.
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user