fix: show verification badges regardless of room encryption state

Spaces and unencrypted rooms have hasEncryptionStateEvent() = false,
causing all badges to be hidden. Cross-signing verification is a user
identity property, not room-specific — show badges whenever
crossSigningActive, keep the E2EE banner gated on isEncrypted.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jaredandClaude Sonnet 4.6 committed 2026-05-23 13:21:12 -04:00
1 parent 161b9bb75e
commit 083985fe94
3 files changed
+3 -3

No files matched your search

@@ -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);