Use the traditional syntax for not-equals

Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
David Baker 2022-07-04 20:32:20 +01:00 committed by GitHub
parent 5dd5668389
commit 6b03ae0dc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,7 +87,7 @@ export async function initClient(
// them.
const params = new URLSearchParams(window.location.search);
// disable e2e only if enableE2e=false is given
const enableE2e = !(params.get("enableE2e") === "false");
const enableE2e = params.get("enableE2e") !== "false";
if (!enableE2e) {
logger.info("Disabling E2E: group call signalling will NOT be encrypted.");