mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 07:05:13 +00:00
Add ability to completely delete legacy group.
This commit is contained in:
@@ -825,6 +825,8 @@ bool PeerData::canRevokeFullHistory() const {
|
||||
&& (!user->isBot() || user->isSupport())
|
||||
&& session().serverConfig().revokePrivateInbox
|
||||
&& (session().serverConfig().revokePrivateTimeLimit == 0x7FFFFFFF);
|
||||
} else if (const auto chat = asChat()) {
|
||||
return chat->amCreator();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user