2
0
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:
John Preston
2021-02-12 19:15:17 +04:00
parent 8188ab3033
commit 05488022c7
6 changed files with 55 additions and 39 deletions

View File

@@ -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());
}