Allow in groups to delete service messages for everyone.

Fixes #8690.
This commit is contained in:
John Preston 2020-10-01 18:20:56 +03:00
parent 46ce0df832
commit 0299ba4873
1 changed files with 1 additions and 3 deletions

View File

@ -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;
}