mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Add call icon next to members in call (#5941)
* feat: add call icon next to members in call * feat: use matrix rtc room status for in-call * chore: revert xcodeproj change * chore: update preview tests * chore: Update ElementX.xcscheme * chore: undo room member status proxy --------- Co-authored-by: Kai <nankeen@users.noreply.github.com>
This commit is contained in:
@@ -24,6 +24,7 @@ struct JoinedRoomProxyMockConfiguration {
|
||||
var isSpace = false
|
||||
var isEncrypted = true
|
||||
var hasOngoingCall = true
|
||||
var activeRoomCallParticipants: [String] = []
|
||||
var canonicalAlias: String?
|
||||
var alternativeAliases: [String] = []
|
||||
var pinnedEventIDs: Set<String> = []
|
||||
@@ -163,7 +164,7 @@ extension RoomInfoProxyMock {
|
||||
joinedMembersCount = configuration.members.filter { $0.membership == .join }.count
|
||||
isDM = isDirect && activeMembersCount <= 2
|
||||
hasRoomCall = configuration.hasOngoingCall
|
||||
activeRoomCallParticipants = []
|
||||
activeRoomCallParticipants = configuration.activeRoomCallParticipants
|
||||
pinnedEventIDs = configuration.pinnedEventIDs
|
||||
joinRule = configuration.joinRule
|
||||
historyVisibility = configuration.historyVisibility
|
||||
|
||||
Reference in New Issue
Block a user