Only subscribe to identity updates if the room is encrypted. (#3414)

This commit is contained in:
Doug 2024-10-16 10:40:29 +01:00 committed by GitHub
parent 718774dc36
commit 3d797ccabb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -200,7 +200,9 @@ class JoinedRoomProxy: JoinedRoomProxyProtocol {
subscribeToRoomInfoUpdates()
subscribeToIdentityStatusChanges()
if isEncrypted {
subscribeToIdentityStatusChanges()
}
subscribeToTypingNotifications()
}