mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-03 21:54:05 +02:00
Removed ability to set TTL to chat with bot verification.
This commit is contained in:
parent
8c0de22c14
commit
0638c86211
1 changed files with 1 additions and 0 deletions
|
@ -115,6 +115,7 @@ bool TTLValidator::can() const {
|
|||
&& !_peer->isNotificationsUser()
|
||||
&& !_peer->asUser()->isInaccessible()
|
||||
&& !_peer->asUser()->starsPerMessage()
|
||||
&& !_peer->asUser()->isVerifyCodes()
|
||||
&& (!_peer->asUser()->requiresPremiumToWrite()
|
||||
|| _peer->session().premium()))
|
||||
|| (_peer->isChat()
|
||||
|
|
Loading…
Add table
Reference in a new issue