mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Use ttl_period from service messages as well.
This commit is contained in:
@@ -3716,8 +3716,8 @@ bool HistoryWidget::isJoinChannel() const {
|
||||
|
||||
bool HistoryWidget::isMuteUnmute() const {
|
||||
return _peer
|
||||
&& ((_peer->isBroadcast()
|
||||
&& !_peer->asChannel()->canPublish())
|
||||
&& ((_peer->isBroadcast() && !_peer->asChannel()->canPublish())
|
||||
|| (_peer->isGigagroup() && !_peer->asChannel()->canWrite())
|
||||
|| _peer->isRepliesChat());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user