mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Removed ability to set TTL to chat with bot verification.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user