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

Expose redaction power level in room settings #7599

Merged
merged 6 commits into from
Mar 1, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ const plEventsToShow: Record<string, IEventShowOpts> = {
[EventType.RoomServerAcl]: { isState: true, hideForSpace: true },
[EventType.RoomPinnedEvents]: { isState: true, hideForSpace: true },
[EventType.Reaction]: { isState: false, hideForSpace: true },
[EventType.RoomRedaction]: { isState: false, hideForSpace: true },

// TODO: Enable support for m.widget event type (https://github.com/vector-im/element-web/issues/13111)
"im.vector.modular.widgets": { isState: true, hideForSpace: true },
Expand Down Expand Up @@ -237,6 +238,7 @@ export default class RolesRoomSettingsTab extends React.Component<IProps> {
[EventType.RoomEncryption]: _td("Enable room encryption"),
[EventType.RoomServerAcl]: _td("Change server ACLs"),
[EventType.Reaction]: _td("Send reactions"),
[EventType.RoomRedaction]: _td("Redact messages"),
SimonBrandner marked this conversation as resolved.
Show resolved Hide resolved

// TODO: Enable support for m.widget event type (https://github.com/vector-im/element-web/issues/13111)
"im.vector.modular.widgets": isSpaceRoom ? null : _td("Modify widgets"),
Expand Down
1 change: 1 addition & 0 deletions src/i18n/strings/en_EN.json
Original file line number Diff line number Diff line change
Expand Up @@ -1590,6 +1590,7 @@
"Enable room encryption": "Enable room encryption",
"Change server ACLs": "Change server ACLs",
"Send reactions": "Send reactions",
"Redact messages": "Redact messages",
"Modify widgets": "Modify widgets",
"Manage pinned events": "Manage pinned events",
"Default role": "Default role",
Expand Down