From 3d797ccabbfd382efaa11b731891c0a5eb591a8f Mon Sep 17 00:00:00 2001 From: Doug <6060466+pixlwave@users.noreply.github.com> Date: Wed, 16 Oct 2024 10:40:29 +0100 Subject: [PATCH] Only subscribe to identity updates if the room is encrypted. (#3414) --- 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() }