mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 07:33:52 +02:00
parent
46ce0df832
commit
0299ba4873
1 changed files with 1 additions and 3 deletions
|
@ -599,9 +599,7 @@ bool HistoryItem::canDeleteForEveryone(TimeId now) const {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!peer->isUser() && !toHistoryMessage()) {
|
if (const auto media = this->media()) {
|
||||||
return false;
|
|
||||||
} else if (const auto media = this->media()) {
|
|
||||||
if (!media->allowsRevoke(now)) {
|
if (!media->allowsRevoke(now)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue