From 66714b29afbdf5d5ea73f0c26fdaaca116a4fd6b Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 28 Aug 2019 11:37:20 +0100 Subject: [PATCH] expose power level toggle for enabling e2ee to room settings Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/views/settings/tabs/room/RolesRoomSettingsTab.js | 2 ++ src/i18n/strings/en_EN.json | 1 + 2 files changed, 3 insertions(+) diff --git a/src/components/views/settings/tabs/room/RolesRoomSettingsTab.js b/src/components/views/settings/tabs/room/RolesRoomSettingsTab.js index c4b1ae8ddc..e269c6d2cd 100644 --- a/src/components/views/settings/tabs/room/RolesRoomSettingsTab.js +++ b/src/components/views/settings/tabs/room/RolesRoomSettingsTab.js @@ -30,6 +30,7 @@ const plEventsToLabels = { "m.room.history_visibility": _td("Change history visibility"), "m.room.power_levels": _td("Change permissions"), "m.room.topic": _td("Change topic"), + "m.room.encryption": _td("Enable room encryption"), "im.vector.modular.widgets": _td("Modify widgets"), }; @@ -42,6 +43,7 @@ const plEventsToShow = { "m.room.history_visibility": {isState: true}, "m.room.power_levels": {isState: true}, "m.room.topic": {isState: true}, + "m.room.encryption": {isState: true}, "im.vector.modular.widgets": {isState: true}, }; diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 62b6467b94..9ed4d4c4d9 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -680,6 +680,7 @@ "Change history visibility": "Change history visibility", "Change permissions": "Change permissions", "Change topic": "Change topic", + "Enable room encryption": "Enable room encryption", "Modify widgets": "Modify widgets", "Failed to unban": "Failed to unban", "Unban": "Unban",