Conference updates

This commit is contained in:
Isaac
2025-04-08 14:38:46 +04:00
parent 81ae40bcde
commit c78095e2d3
10 changed files with 492 additions and 179 deletions

View File

@@ -3111,14 +3111,9 @@ func _internal_refreshInlineGroupCall(account: Account, messageId: MessageId) ->
for i in 0 ..< updatedMedia.count {
if let action = updatedMedia[i] as? TelegramMediaAction, case let .conferenceCall(conferenceCall) = action.action {
var otherParticipants: [PeerId] = []
let otherParticipants: [PeerId] = conferenceCall.otherParticipants
var duration: Int32? = conferenceCall.duration
if let result {
for id in result.participants {
if id != account.peerId {
otherParticipants.append(id)
}
}
duration = result.duration
} else {
duration = nil