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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user