mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Fixes element-hq/element-meta/issues/2525 - Display a warning when a user's pinned identity changes
This commit is contained in:
@@ -295,10 +295,12 @@ class ElementCallService: NSObject, ElementCallServiceProtocol, PKPushRegistryDe
|
||||
|
||||
roomProxy
|
||||
.actionsPublisher
|
||||
.map { action -> (Bool, [String]) in
|
||||
.compactMap { action -> (Bool, [String])? in
|
||||
switch action {
|
||||
case .roomInfoUpdate:
|
||||
return (roomProxy.hasOngoingCall, roomProxy.activeRoomCallParticipants)
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
.removeDuplicates { $0 == $1 }
|
||||
|
||||
Reference in New Issue
Block a user