Fix build with Xcode.

This commit is contained in:
John Preston 2021-09-07 12:17:42 +03:00
parent 05d4d58f8b
commit 9f43719075

View file

@ -1614,7 +1614,7 @@ void Members::setupAddMember(not_null<GroupCall*> call) {
_call->joinAsValue()
) | rpl::map([=](bool can, not_null<PeerData*> joinAs) {
return can && joinAs->isSelf();
});
}) | rpl::type_erased();
};
const auto canInviteByLinkByPeer = [=](not_null<PeerData*> peer) {
const auto channel = peer->asChannel();