Removed ability to set TTL to chat with bot verification.

This commit is contained in:
23rd
2025-04-07 19:43:03 +03:00
committed by John Preston
parent 8c0de22c14
commit 0638c86211
@@ -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()