You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-19 05:22:13 +03:00
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:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user