Skip to content

Commit

Permalink
Only subscribe to identity updates if the room is encrypted. (#3414)
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave authored Oct 16, 2024
1 parent 718774d commit 3d797cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ElementX/Sources/Services/Room/JoinedRoomProxy.swift
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,9 @@ class JoinedRoomProxy: JoinedRoomProxyProtocol {

subscribeToRoomInfoUpdates()

subscribeToIdentityStatusChanges()
if isEncrypted {
subscribeToIdentityStatusChanges()
}

subscribeToTypingNotifications()
}
Expand Down

0 comments on commit 3d797cc

Please sign in to comment.