2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-01 23:25:15 +00:00

Don't show checks for incoming service messages.

This commit is contained in:
John Preston
2021-01-21 17:46:46 +04:00
parent 417428b21d
commit ff9bf23461

View File

@@ -792,8 +792,9 @@ bool HistoryService::updateDependencyItem() {
} }
bool HistoryService::needCheck() const { bool HistoryService::needCheck() const {
return (GetDependentData() != nullptr) return out()
|| Has<HistoryServiceSelfDestruct>(); && ((GetDependentData() != nullptr)
|| Has<HistoryServiceSelfDestruct>());
} }
QString HistoryService::inDialogsText(DrawInDialog way) const { QString HistoryService::inDialogsText(DrawInDialog way) const {