mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Disable ttl for self and notifications.
This commit is contained in:
@@ -665,7 +665,9 @@ void DeleteMessagesBox::prepare() {
|
||||
|
||||
if (_wipeHistoryJustClear
|
||||
&& _wipeHistoryPeer
|
||||
&& (_wipeHistoryPeer->isUser()
|
||||
&& ((_wipeHistoryPeer->isUser()
|
||||
&& !_wipeHistoryPeer->isSelf()
|
||||
&& !_wipeHistoryPeer->isNotificationsUser())
|
||||
|| (_wipeHistoryPeer->isChat()
|
||||
&& _wipeHistoryPeer->asChat()->canDeleteMessages())
|
||||
|| (_wipeHistoryPeer->isChannel()
|
||||
|
Reference in New Issue
Block a user