mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Add sent/read checks for some service messages.
This commit is contained in:
@@ -617,6 +617,11 @@ bool HistoryService::updateDependencyItem() {
|
||||
return HistoryItem::updateDependencyItem();
|
||||
}
|
||||
|
||||
bool HistoryService::needCheck() const {
|
||||
return (GetDependentData() != nullptr)
|
||||
|| Has<HistoryServiceSelfDestruct>();
|
||||
}
|
||||
|
||||
QString HistoryService::inDialogsText(DrawInDialog way) const {
|
||||
return textcmdLink(1, TextUtilities::Clean(notificationText()));
|
||||
}
|
||||
|
Reference in New Issue
Block a user