mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user