mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Fix #3133 - Cancel ElementCall rining once answered elsewhere
- expose `activeRoomCallParticipants` and use them to detect if the user has joined the call from a different device
This commit is contained in:
committed by
Stefan Ceriu
parent
9b9f45ea0c
commit
0b984cc3eb
@@ -123,6 +123,10 @@ class RoomProxy: RoomProxyProtocol {
|
||||
room.hasActiveRoomCall()
|
||||
}
|
||||
|
||||
var activeRoomCallParticipants: [String] {
|
||||
room.activeRoomCallParticipants()
|
||||
}
|
||||
|
||||
var canonicalAlias: String? {
|
||||
room.canonicalAlias()
|
||||
}
|
||||
|
||||
@@ -41,7 +41,10 @@ protocol RoomProxyProtocol {
|
||||
var pinnedEventIDs: Set<String> { get async }
|
||||
var membership: Membership { get }
|
||||
var inviter: RoomMemberProxyProtocol? { get async }
|
||||
|
||||
var hasOngoingCall: Bool { get }
|
||||
var activeRoomCallParticipants: [String] { get }
|
||||
|
||||
var canonicalAlias: String? { get }
|
||||
var ownUserID: String { get }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user