2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Add sent/read checks for some service messages.

This commit is contained in:
John Preston
2020-11-09 12:36:15 +03:00
parent 91a2ec225a
commit 167a73ef1b
3 changed files with 7 additions and 4 deletions

View File

@@ -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()));
}