diff --git a/Telegram/SourceFiles/history/history_item.cpp b/Telegram/SourceFiles/history/history_item.cpp index 6fcc2b05ed..947af8a216 100644 --- a/Telegram/SourceFiles/history/history_item.cpp +++ b/Telegram/SourceFiles/history/history_item.cpp @@ -599,9 +599,7 @@ bool HistoryItem::canDeleteForEveryone(TimeId now) const { return false; } } - if (!peer->isUser() && !toHistoryMessage()) { - return false; - } else if (const auto media = this->media()) { + if (const auto media = this->media()) { if (!media->allowsRevoke(now)) { return false; }