mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-03 07:56:03 +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 {
|
bool HistoryItem::needCheck() const {
|
||||||
return out() || (id < 0 && history()->peer->isSelf());
|
return (out() && !isEmpty()) || (id < 0 && history()->peer->isSelf());
|
||||||
}
|
}
|
||||||
|
|
||||||
bool HistoryItem::unread() const {
|
bool HistoryItem::unread() const {
|
||||||
|
@@ -792,9 +792,7 @@ bool HistoryService::updateDependencyItem() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool HistoryService::needCheck() const {
|
bool HistoryService::needCheck() const {
|
||||||
return out()
|
return out() && !isEmpty();
|
||||||
&& ((GetDependentData() != nullptr)
|
|
||||||
|| Has<HistoryServiceSelfDestruct>());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QString HistoryService::inDialogsText(DrawInDialog way) const {
|
QString HistoryService::inDialogsText(DrawInDialog way) const {
|
||||||
|
Reference in New Issue
Block a user