mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Conference updates
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user