mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-17 11:50:56 +00:00
Various fixes
This commit is contained in:
parent
b57632c670
commit
7c77d5ebcd
@ -1851,7 +1851,7 @@ public final class VoiceChatController: ViewController {
|
|||||||
self.listContainer.addSubnode(self.topCornersNode)
|
self.listContainer.addSubnode(self.topCornersNode)
|
||||||
self.contentContainer.addSubnode(self.bottomGradientNode)
|
self.contentContainer.addSubnode(self.bottomGradientNode)
|
||||||
self.contentContainer.addSubnode(self.bottomPanelBackgroundNode)
|
self.contentContainer.addSubnode(self.bottomPanelBackgroundNode)
|
||||||
self.contentContainer.addSubnode(self.participantsNode)
|
// self.contentContainer.addSubnode(self.participantsNode)
|
||||||
self.contentContainer.addSubnode(self.tileGridNode)
|
self.contentContainer.addSubnode(self.tileGridNode)
|
||||||
self.contentContainer.addSubnode(self.mainStageContainerNode)
|
self.contentContainer.addSubnode(self.mainStageContainerNode)
|
||||||
self.contentContainer.addSubnode(self.transitionContainerNode)
|
self.contentContainer.addSubnode(self.transitionContainerNode)
|
||||||
@ -1975,7 +1975,6 @@ public final class VoiceChatController: ViewController {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
let titleAndRecording: Signal<(String?, Bool), NoError> = self.call.state
|
let titleAndRecording: Signal<(String?, Bool), NoError> = self.call.state
|
||||||
|> map { state -> (String?, Bool) in
|
|> map { state -> (String?, Bool) in
|
||||||
return (state.title, state.recordingStartTimestamp != nil)
|
return (state.title, state.recordingStartTimestamp != nil)
|
||||||
@ -1993,7 +1992,7 @@ public final class VoiceChatController: ViewController {
|
|||||||
} else {
|
} else {
|
||||||
isLivestream = false
|
isLivestream = false
|
||||||
}
|
}
|
||||||
strongSelf.participantsNode.isHidden = !isLivestream
|
strongSelf.participantsNode.isHidden = !isLivestream || strongSelf.isScheduled
|
||||||
|
|
||||||
let hadPeer = strongSelf.peer != nil
|
let hadPeer = strongSelf.peer != nil
|
||||||
strongSelf.peer = peer
|
strongSelf.peer = peer
|
||||||
@ -5047,9 +5046,9 @@ public final class VoiceChatController: ViewController {
|
|||||||
let memberState: VoiceChatPeerEntry.State
|
let memberState: VoiceChatPeerEntry.State
|
||||||
var memberMuteState: GroupCallParticipantsContext.Participant.MuteState?
|
var memberMuteState: GroupCallParticipantsContext.Participant.MuteState?
|
||||||
if member.hasRaiseHand && !(member.muteState?.canUnmute ?? true) {
|
if member.hasRaiseHand && !(member.muteState?.canUnmute ?? true) {
|
||||||
if isLivestream && !canManageCall {
|
// if isLivestream && !canManageCall {
|
||||||
continue
|
// continue
|
||||||
}
|
// }
|
||||||
memberState = .raisedHand
|
memberState = .raisedHand
|
||||||
memberMuteState = member.muteState
|
memberMuteState = member.muteState
|
||||||
|
|
||||||
@ -5086,9 +5085,9 @@ public final class VoiceChatController: ViewController {
|
|||||||
self.raisedHandDisplayDisposables[member.peer.id] = nil
|
self.raisedHandDisplayDisposables[member.peer.id] = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
if isLivestream && !(memberMuteState?.canUnmute ?? true) {
|
// if isLivestream && !(memberMuteState?.canUnmute ?? true) {
|
||||||
continue
|
// continue
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
var memberPeer = member.peer
|
var memberPeer = member.peer
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user