mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Support for ongoing voice vs video call + joining (#5399)
This commit is contained in:
@@ -110,6 +110,17 @@ struct RoomInfoProxy: RoomInfoProxyProtocol {
|
||||
roomInfo.hasRoomCall
|
||||
}
|
||||
|
||||
var activeRoomCallIntent: CallIntent? {
|
||||
switch roomInfo.activeRoomCallConsensusIntent {
|
||||
case .full(let intent):
|
||||
return .init(rustCallIntent: intent)
|
||||
case .partial(intent: let intent, _, _):
|
||||
return .init(rustCallIntent: intent)
|
||||
case .none:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
var activeRoomCallParticipants: [String] {
|
||||
roomInfo.activeRoomCallParticipants
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user