mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Beta version 3.2.6: Fix build in Release on macOS.
This commit is contained in:
parent
9360f1f970
commit
6850cc5ab4
1 changed files with 4 additions and 1 deletions
|
@ -279,7 +279,10 @@ void HistoryInner::setupSharingDisallowed() {
|
|||
const auto channel = _peer->asChannel();
|
||||
_sharingDisallowed = chat
|
||||
? Data::PeerFlagValue(chat, ChatDataFlag::NoForwards)
|
||||
: Data::PeerFlagValue(channel, ChannelDataFlag::NoForwards);
|
||||
: Data::PeerFlagValue(
|
||||
channel,
|
||||
ChannelDataFlag::NoForwards
|
||||
) | rpl::type_erased();
|
||||
|
||||
auto rights = chat
|
||||
? chat->adminRightsValue()
|
||||
|
|
Loading…
Add table
Reference in a new issue