diff --git a/src/app/components/user-profile/UserRoomProfile.tsx b/src/app/components/user-profile/UserRoomProfile.tsx index c5652a746..cb6f6ec4f 100644 --- a/src/app/components/user-profile/UserRoomProfile.tsx +++ b/src/app/components/user-profile/UserRoomProfile.tsx @@ -38,7 +38,7 @@ export function UserRoomProfile({ userId }: UserRoomProfileProps) { const ignored = ignoredUsers.includes(userId); const room = useRoom(); - const showEncryption = room.hasEncryptionStateEvent() && crossSigningActive; + const showEncryption = crossSigningActive; const powerLevels = usePowerLevels(room); const creators = useRoomCreators(room); diff --git a/src/app/features/common-settings/members/Members.tsx b/src/app/features/common-settings/members/Members.tsx index d3ec7e167..37fe57c02 100644 --- a/src/app/features/common-settings/members/Members.tsx +++ b/src/app/features/common-settings/members/Members.tsx @@ -82,7 +82,7 @@ export function Members({ requestClose }: MembersProps) { const room = useRoom(); const members = useRoomMembers(mx, room.roomId); const crossSigningActive = useCrossSigningActive(); - const showEncryption = room.hasEncryptionStateEvent() && crossSigningActive; + const showEncryption = crossSigningActive; const fetchingMembers = members.length < room.getJoinedMemberCount(); const openProfile = useOpenUserRoomProfile(); const profileUser = useUserRoomProfileState(); diff --git a/src/app/features/room/MembersDrawer.tsx b/src/app/features/room/MembersDrawer.tsx index b7eb06c1c..426505666 100644 --- a/src/app/features/room/MembersDrawer.tsx +++ b/src/app/features/room/MembersDrawer.tsx @@ -190,7 +190,7 @@ export function MembersDrawer({ room, members }: MembersDrawerProps) { const useAuthentication = useMediaAuthentication(); const isEncrypted = room.hasEncryptionStateEvent(); const crossSigningActive = useCrossSigningActive(); - const showEncryption = isEncrypted && crossSigningActive; + const showEncryption = crossSigningActive; const scrollRef = useRef(null) as React.RefObject; const searchInputRef = useRef(null) as React.RefObject; const scrollTopAnchorRef = useRef(null) as React.RefObject;