From 8ee9d39ffa19adb7182d8e61a9831bf2975cea52 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 29 Sep 2017 15:12:05 -0600 Subject: [PATCH] Expose option for m.room.topic power level Signed-off-by: Travis Ralston --- src/components/views/rooms/RoomSettings.js | 2 ++ src/i18n/strings/en_EN.json | 1 + src/i18n/strings/en_US.json | 1 + 3 files changed, 4 insertions(+) diff --git a/src/components/views/rooms/RoomSettings.js b/src/components/views/rooms/RoomSettings.js index 59b05dc4ac..f1dcfbfc64 100644 --- a/src/components/views/rooms/RoomSettings.js +++ b/src/components/views/rooms/RoomSettings.js @@ -43,6 +43,7 @@ const plEventsToLabels = { "m.room.canonical_alias": "To change the room's main address, you must be a", "m.room.history_visibility": "To change the room's history visibility, you must be a", "m.room.power_levels": "To change the permissions in the room, you must be a", + "m.room.topic": "To change the topic, you must be a", }; const plEventsToShow = { @@ -52,6 +53,7 @@ const plEventsToShow = { "m.room.canonical_alias": {isState: true}, "m.room.history_visibility": {isState: true}, "m.room.power_levels": {isState: true}, + "m.room.topic": {isState: true}, } const BannedUser = React.createClass({ diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 6309e60e82..ee1bed814a 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -837,6 +837,7 @@ "To change the room's main address, you must be a": "To change the room's main address, you must be a", "To change the room's history visibility, you must be a": "To change the room's history visibility, you must be a", "To change the permissions in the room, you must be a": "To change the permissions in the room, you must be a", + "To change the topic, you must be a": "To change the topic, you must be a", "Error whilst fetching joined groups": "Error whilst fetching joined groups", "Featured Users:": "Featured Users:", "Edit Group": "Edit Group", diff --git a/src/i18n/strings/en_US.json b/src/i18n/strings/en_US.json index 7f99f7789c..a1dd9d53cc 100644 --- a/src/i18n/strings/en_US.json +++ b/src/i18n/strings/en_US.json @@ -661,6 +661,7 @@ "To change the room's main address, you must be a": "To change the room's main address, you must be a", "To change the room's history visibility, you must be a": "To change the room's history visibility, you must be a", "To change the permissions in the room, you must be a": "To change the permissions in the room, you must be a", + "To change the topic, you must be a": "To change the topic, you must be a", "This Home Server would like to make sure you are not a robot": "This Home Server would like to make sure you are not a robot", "Sign in with CAS": "Sign in with CAS", "Custom Server Options": "Custom Server Options",