mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Add group call settings box.
This commit is contained in:
@@ -38,7 +38,13 @@ GroupCall::GroupCall(
|
||||
: _delegate(delegate)
|
||||
, _channel(channel)
|
||||
, _api(&_channel->session().mtp()) {
|
||||
if (inputCall.c_inputGroupCall().vid().v) {
|
||||
const auto id = inputCall.c_inputGroupCall().vid().v;
|
||||
if (id) {
|
||||
if (const auto call = _channel->call(); call && call->id() == id) {
|
||||
if (!_channel->canManageCall() && call->joinMuted()) {
|
||||
_muted = MuteState::ForceMuted;
|
||||
}
|
||||
}
|
||||
_state = State::Joining;
|
||||
join(inputCall);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user