Skip to content

Commit da32bbc

Browse files
committed
doc: fix useIsEncrypted comment
1 parent 7b6c277 commit da32bbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/useIsEncrypted.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import { LocalRoom } from "../models/LocalRoom.ts";
2424
export async function isRoomEncrypted(room: Room, cryptoApi: CryptoApi): Promise<boolean> {
2525
if (room instanceof LocalRoom) {
2626
// For local room check the state.
27-
// The crypto check fails because the eventId is not valid (it is a local id)
27+
// The crypto check fails because the room ID is not valid (it is a local id)
2828
return (room as LocalRoom).isEncryptionEnabled();
2929
}
3030

0 commit comments

Comments
 (0)