Add permission dropdown for sending reactions (#7492)

pull/21833/head
Michael Telatynski 2022-01-10 11:35:41 +00:00 committed by GitHub
parent f7d19a5746
commit fdd0a2ada3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -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 },
@ -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"),

View File

@ -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",