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:
Stefan Ceriu
2024-08-08 14:10:04 +03:00
committed by Stefan Ceriu
parent 9b9f45ea0c
commit 0b984cc3eb
4 changed files with 22 additions and 5 deletions
@@ -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 }