2
0
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:
John Preston
2025-03-13 12:23:23 +04:00
parent d1e4dbb603
commit 06ed6c81a7
3 changed files with 5 additions and 2 deletions

View File

@@ -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()) {