Allow deleting all from a channel to a group.

This commit is contained in:
John Preston 2021-11-23 15:55:40 +04:00
parent a7c9a1ab34
commit d1b9785d31
1 changed files with 1 additions and 1 deletions

View File

@ -737,7 +737,7 @@ bool HistoryItem::suggestDeleteAllReport() const {
if (!channel || !channel->canDeleteMessages()) { if (!channel || !channel->canDeleteMessages()) {
return false; return false;
} }
return !isPost() && !out() && from()->isUser(); return !isPost() && !out();
} }
bool HistoryItem::hasDirectLink() const { bool HistoryItem::hasDirectLink() const {