Voice Chat UI improvements

This commit is contained in:
Ilya Laktyushin
2020-12-10 00:22:10 +04:00
parent f7c6962e78
commit bf95bee548
6 changed files with 110 additions and 26 deletions

View File

@@ -236,6 +236,11 @@ public class CallStatusBarNodeImpl: CallStatusBarNode {
if let strongSelf = self {
strongSelf.currentPeer = view.peers[view.peerId]
strongSelf.currentGroupCallState = state
var isMuted = isMuted
if let state = state, let muteState = state.callState.muteState, !muteState.canUnmute {
isMuted = true
}
strongSelf.currentIsMuted = isMuted
let currentIsConnected: Bool