Expose power level setting for widgets
Fixes https://github.com/vector-im/riot-web/issues/4866 Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
8ee9d39ffa
commit
20798dd2fa
3 changed files with 6 additions and 0 deletions
|
@ -44,6 +44,8 @@ const plEventsToLabels = {
|
|||
"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",
|
||||
|
||||
"im.vector.modular.widgets": "To modify widgets in the room, you must be a",
|
||||
};
|
||||
|
||||
const plEventsToShow = {
|
||||
|
@ -54,6 +56,8 @@ const plEventsToShow = {
|
|||
"m.room.history_visibility": {isState: true},
|
||||
"m.room.power_levels": {isState: true},
|
||||
"m.room.topic": {isState: true},
|
||||
|
||||
"im.vector.modular.widgets": {isState: true},
|
||||
}
|
||||
|
||||
const BannedUser = React.createClass({
|
||||
|
|
|
@ -838,6 +838,7 @@
|
|||
"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",
|
||||
"To modify widgets in the room, you must be a": "To modify widgets in the room, you must be a",
|
||||
"Error whilst fetching joined groups": "Error whilst fetching joined groups",
|
||||
"Featured Users:": "Featured Users:",
|
||||
"Edit Group": "Edit Group",
|
||||
|
|
|
@ -662,6 +662,7 @@
|
|||
"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",
|
||||
"To modify widgets in the room, you must be a": "To modify widgets in the room, 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",
|
||||
|
|
Loading…
Reference in a new issue