mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Remove 'delete also for' in Deleted Accounts.
This commit is contained in:
@@ -1483,6 +1483,7 @@ bool PeerData::canRevokeFullHistory() const {
|
||||
if (const auto user = asUser()) {
|
||||
return !isSelf()
|
||||
&& (!user->isBot() || user->isSupport())
|
||||
&& !user->isInaccessible()
|
||||
&& session().serverConfig().revokePrivateInbox
|
||||
&& (session().serverConfig().revokePrivateTimeLimit == 0x7FFFFFFF);
|
||||
} else if (const auto chat = asChat()) {
|
||||
|
Reference in New Issue
Block a user