Support Muted by admin in conference

This commit is contained in:
Isaac
2025-04-11 17:53:56 +04:00
parent dcde323740
commit 6ee705e786
3 changed files with 26 additions and 12 deletions

View File

@@ -2553,9 +2553,12 @@ final class VideoChatScreenComponent: Component {
micButtonContent = .unmuted(pushToTalk: self.isPushToTalkActive)
actionButtonMicrophoneState = .unmuted
} else {
micButtonContent = .muted
actionButtonMicrophoneState = .muted
micButtonContent = .muted(forced: false)
actionButtonMicrophoneState = .muted(forced: false)
}
} else if isConference {
micButtonContent = .muted(forced: true)
actionButtonMicrophoneState = .muted(forced: true)
} else {
micButtonContent = .raiseHand(isRaised: callState.raisedHand)
actionButtonMicrophoneState = .raiseHand