Allow delete all from service message.

This commit is contained in:
John Preston 2020-10-02 16:02:06 +03:00
parent 498e82b804
commit 6b084301be
1 changed files with 1 additions and 1 deletions

View File

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