mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Adapt UI for gigagroups.
This commit is contained in:
@@ -757,11 +757,15 @@ bool PeerData::isFake() const {
|
||||
}
|
||||
|
||||
bool PeerData::isMegagroup() const {
|
||||
return isChannel() ? asChannel()->isMegagroup() : false;
|
||||
return isChannel() && asChannel()->isMegagroup();
|
||||
}
|
||||
|
||||
bool PeerData::isBroadcast() const {
|
||||
return isChannel() ? asChannel()->isBroadcast() : false;
|
||||
return isChannel() && asChannel()->isBroadcast();
|
||||
}
|
||||
|
||||
bool PeerData::isGigagroup() const {
|
||||
return isChannel() && asChannel()->isGigagroup();
|
||||
}
|
||||
|
||||
bool PeerData::isRepliesChat() const {
|
||||
|
Reference in New Issue
Block a user