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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue