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

Commit

Permalink
Add permission dropdown for sending reactions (#7492)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Jan 10, 2022
1 parent f7d19a5 commit fdd0a2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const plEventsToShow: Record<string, IEventShowOpts> = {
[EventType.RoomEncryption]: { isState: true, hideForSpace: true },
[EventType.RoomServerAcl]: { isState: true, hideForSpace: true },
[EventType.RoomPinnedEvents]: { isState: true, hideForSpace: true },
[EventType.Reaction]: { 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 @@ -235,6 +236,7 @@ export default class RolesRoomSettingsTab extends React.Component<IProps> {
[EventType.RoomTombstone]: _td("Upgrade the room"),
[EventType.RoomEncryption]: _td("Enable room encryption"),
[EventType.RoomServerAcl]: _td("Change server ACLs"),
[EventType.Reaction]: _td("Send reactions"),

// 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 @@ -1555,6 +1555,7 @@
"Upgrade the room": "Upgrade the room",
"Enable room encryption": "Enable room encryption",
"Change server ACLs": "Change server ACLs",
"Send reactions": "Send reactions",
"Modify widgets": "Modify widgets",
"Manage pinned events": "Manage pinned events",
"Default role": "Default role",
Expand Down

0 comments on commit fdd0a2a

Please sign in to comment.