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

Commit 8f128ef

Browse files
Expose redaction power level in room settings (#7599)
1 parent 928b086 commit 8f128ef

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/components/views/settings/tabs/room/RolesRoomSettingsTab.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ const plEventsToShow: Record<string, IEventShowOpts> = {
5858
[EventType.RoomServerAcl]: { isState: true, hideForSpace: true },
5959
[EventType.RoomPinnedEvents]: { isState: true, hideForSpace: true },
6060
[EventType.Reaction]: { isState: false, hideForSpace: true },
61+
[EventType.RoomRedaction]: { isState: false, hideForSpace: true },
6162

6263
// TODO: Enable support for m.widget event type (https://github.com/vector-im/element-web/issues/13111)
6364
"im.vector.modular.widgets": { isState: true, hideForSpace: true },
@@ -241,6 +242,7 @@ export default class RolesRoomSettingsTab extends React.Component<IProps> {
241242
[EventType.RoomEncryption]: _td("Enable room encryption"),
242243
[EventType.RoomServerAcl]: _td("Change server ACLs"),
243244
[EventType.Reaction]: _td("Send reactions"),
245+
[EventType.RoomRedaction]: _td("Remove messages sent by me"),
244246

245247
// TODO: Enable support for m.widget event type (https://github.com/vector-im/element-web/issues/13111)
246248
"im.vector.modular.widgets": isSpaceRoom ? null : _td("Modify widgets"),

src/i18n/strings/en_EN.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1580,6 +1580,7 @@
15801580
"Enable room encryption": "Enable room encryption",
15811581
"Change server ACLs": "Change server ACLs",
15821582
"Send reactions": "Send reactions",
1583+
"Remove messages sent by me": "Remove messages sent by me",
15831584
"Modify widgets": "Modify widgets",
15841585
"Manage pinned events": "Manage pinned events",
15851586
"Default role": "Default role",

0 commit comments

Comments
 (0)