Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Expose option for m.room.topic power level
Browse files Browse the repository at this point in the history
Signed-off-by: Travis Ralston <travpc@gmail.com>
  • Loading branch information
turt2live committed Sep 29, 2017
1 parent 8ab3d94 commit 8ee9d39
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/views/rooms/RoomSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -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({
Expand Down
1 change: 1 addition & 0 deletions src/i18n/strings/en_EN.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions src/i18n/strings/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8ee9d39

Please sign in to comment.