Merge pull request #3352 from matrix-org/t3chguy/pl_room_upgrade

Expose upgrade room permissions in room settings and fix command
This commit is contained in:
Michael Telatynski 2019-08-28 17:44:50 +01:00 committed by GitHub
commit a8c5b02464
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 8 deletions

View file

@ -30,6 +30,7 @@ const plEventsToLabels = {
"m.room.history_visibility": _td("Change history visibility"),
"m.room.power_levels": _td("Change permissions"),
"m.room.topic": _td("Change topic"),
"m.room.tombstone": _td("Upgrade the room"),
"im.vector.modular.widgets": _td("Modify widgets"),
};
@ -42,6 +43,7 @@ const plEventsToShow = {
"m.room.history_visibility": {isState: true},
"m.room.power_levels": {isState: true},
"m.room.topic": {isState: true},
"m.room.tombstone": {isState: true},
"im.vector.modular.widgets": {isState: true},
};