mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Support separate message type group restrictions.
This commit is contained in:
@@ -845,7 +845,7 @@ void Panel::setupMembers() {
|
||||
_members->addMembersRequests(
|
||||
) | rpl::start_with_next([=] {
|
||||
if (!_peer->isBroadcast()
|
||||
&& _peer->canWrite(false)
|
||||
&& Data::CanSend(_peer, ChatRestriction::SendOther, false)
|
||||
&& _call->joinAs()->isSelf()) {
|
||||
addMembers();
|
||||
} else if (const auto channel = _peer->asChannel()) {
|
||||
|
Reference in New Issue
Block a user