mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
fix event log
This commit is contained in:
parent
96f81db35f
commit
5488caa22f
@ -224,10 +224,10 @@ public func channelAdminLogEvents(postbox: Postbox, network: Network, peerId: Pe
|
|||||||
action = .endGroupCall
|
action = .endGroupCall
|
||||||
case let .channelAdminLogEventActionParticipantMute(participant):
|
case let .channelAdminLogEventActionParticipantMute(participant):
|
||||||
let parsedParticipant = GroupCallParticipantsContext.Update.StateUpdate.ParticipantUpdate(participant)
|
let parsedParticipant = GroupCallParticipantsContext.Update.StateUpdate.ParticipantUpdate(participant)
|
||||||
action = .groupCallUpdateParticipantMuteStatus(peerId: parsedParticipant.peerId, isMuted: parsedParticipant.muteState != nil)
|
action = .groupCallUpdateParticipantMuteStatus(peerId: parsedParticipant.peerId, isMuted: true)
|
||||||
case let .channelAdminLogEventActionParticipantUnmute(participant):
|
case let .channelAdminLogEventActionParticipantUnmute(participant):
|
||||||
let parsedParticipant = GroupCallParticipantsContext.Update.StateUpdate.ParticipantUpdate(participant)
|
let parsedParticipant = GroupCallParticipantsContext.Update.StateUpdate.ParticipantUpdate(participant)
|
||||||
action = .groupCallUpdateParticipantMuteStatus(peerId: parsedParticipant.peerId, isMuted: parsedParticipant.muteState != nil)
|
action = .groupCallUpdateParticipantMuteStatus(peerId: parsedParticipant.peerId, isMuted: false)
|
||||||
case let .channelAdminLogEventActionToggleGroupCallSetting(joinMuted):
|
case let .channelAdminLogEventActionToggleGroupCallSetting(joinMuted):
|
||||||
action = .updateGroupCallSettings(joinMuted: joinMuted == .boolTrue)
|
action = .updateGroupCallSettings(joinMuted: joinMuted == .boolTrue)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user