We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
useIsEncrypted
1 parent 7b6c277 commit da32bbcCopy full SHA for da32bbc
src/hooks/useIsEncrypted.ts
@@ -24,7 +24,7 @@ import { LocalRoom } from "../models/LocalRoom.ts";
24
export async function isRoomEncrypted(room: Room, cryptoApi: CryptoApi): Promise<boolean> {
25
if (room instanceof LocalRoom) {
26
// For local room check the state.
27
- // The crypto check fails because the eventId is not valid (it is a local id)
+ // The crypto check fails because the room ID is not valid (it is a local id)
28
return (room as LocalRoom).isEncryptionEnabled();
29
}
30
0 commit comments