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 {