mirror of https://github.com/vector-im/riot-web
fix enabling e2e encryption in room settings
parent
a1505971fc
commit
2bf51da73e
|
@ -59,7 +59,8 @@ module.exports = async function changeRoomSettings(session, settings) {
|
||||||
}
|
}
|
||||||
|
|
||||||
securityTabButton.click();
|
securityTabButton.click();
|
||||||
const securitySwitches = await session.waitAndQueryAll(".mx_RoomSettingsDialog .mx_ToggleSwitch");
|
await session.delay(500);
|
||||||
|
const securitySwitches = await session.queryAll(".mx_RoomSettingsDialog .mx_ToggleSwitch");
|
||||||
const e2eEncryptionToggle = securitySwitches[0];
|
const e2eEncryptionToggle = securitySwitches[0];
|
||||||
|
|
||||||
if (typeof settings.encryption === "boolean") {
|
if (typeof settings.encryption === "boolean") {
|
||||||
|
|
Loading…
Reference in New Issue