From 3aed992a38b977f55562d980fb95c7e7a1cc4267 Mon Sep 17 00:00:00 2001 From: Doug Date: Tue, 15 Oct 2024 15:20:55 +0100 Subject: [PATCH] Only subscribe to identity updates if the room is encrypted. --- ElementX/Sources/Services/Room/JoinedRoomProxy.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ElementX/Sources/Services/Room/JoinedRoomProxy.swift b/ElementX/Sources/Services/Room/JoinedRoomProxy.swift index cdcd4fc19c..13d3f75921 100644 --- a/ElementX/Sources/Services/Room/JoinedRoomProxy.swift +++ b/ElementX/Sources/Services/Room/JoinedRoomProxy.swift @@ -200,7 +200,9 @@ class JoinedRoomProxy: JoinedRoomProxyProtocol { subscribeToRoomInfoUpdates() - subscribeToIdentityStatusChanges() + if isEncrypted { + subscribeToIdentityStatusChanges() + } subscribeToTypingNotifications() }