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:
2026-05-23 13:21:12 -04:00
parent 161b9bb75e
commit 083985fe94
3 changed files with 3 additions and 3 deletions
@@ -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);