Enable identity pinning violation notifications unconditionally (#3457)

(Remove the feature flag we added when this feature seemed unstable.)
This commit is contained in:
Andy Balaam
2024-10-28 12:16:38 +00:00
committed by GitHub
parent ed8aed65c7
commit 4e812f72b9
4 changed files with 1 additions and 12 deletions
@@ -142,9 +142,7 @@ class RoomScreenViewModel: RoomScreenViewModelType, RoomScreenViewModelProtocol
}
.store(in: &cancellables)
let identityStatusChangesPublisher = roomProxy.identityStatusChangesPublisher
.receive(on: DispatchQueue.main)
.filter { [weak self] _ in self?.appSettings.identityPinningViolationNotificationsEnabled ?? false }
let identityStatusChangesPublisher = roomProxy.identityStatusChangesPublisher.receive(on: DispatchQueue.main)
Task { [weak self] in
for await changes in identityStatusChangesPublisher.values {