mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
fix enabling e2e encryption in room settings
This commit is contained in:
parent
a1505971fc
commit
2bf51da73e
1 changed files with 2 additions and 1 deletions
|
@ -59,7 +59,8 @@ module.exports = async function changeRoomSettings(session, settings) {
|
|||
}
|
||||
|
||||
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];
|
||||
|
||||
if (typeof settings.encryption === "boolean") {
|
||||
|
|
Loading…
Reference in a new issue