mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user