diff --git a/external/lang b/external/lang index dd597a0f..81526bc7 160000 --- a/external/lang +++ b/external/lang @@ -1 +1 @@ -Subproject commit dd597a0fb984e6c681dcf936bdbb1fc07c0521dd +Subproject commit 81526bc70e39a90d6e64a60c34d7d4478b95b05a diff --git a/src/components/settings/roles/PermissionList.tsx b/src/components/settings/roles/PermissionList.tsx index 79039fb2..dce3dc09 100644 --- a/src/components/settings/roles/PermissionList.tsx +++ b/src/components/settings/roles/PermissionList.tsx @@ -18,7 +18,6 @@ export function PermissionList({ value, onChange, filter, target }: Props) { (key) => ![ "GrantAllSafe", - "TimeoutMembers", "ReadMessageHistory", "Speak", "Video", diff --git a/src/pages/settings/channel/Permissions.tsx b/src/pages/settings/channel/Permissions.tsx index d728106f..1b8069ae 100644 --- a/src/pages/settings/channel/Permissions.tsx +++ b/src/pages/settings/channel/Permissions.tsx @@ -6,10 +6,10 @@ import { DEFAULT_PERMISSION_DIRECT_MESSAGE } from "revolt.js"; import { Text } from "preact-i18n"; import { useState } from "preact/hooks"; -import { TextReact } from "../../../lib/i18n"; - import { PermissionsLayout, Button, SpaceBetween, H1 } from "@revoltchat/ui"; +import { TextReact } from "../../../lib/i18n"; + import { PermissionList } from "../../../components/settings/roles/PermissionList"; import { RoleOrDefault } from "../../../components/settings/roles/RoleSelection"; import { useRoles } from "../server/Roles"; @@ -109,6 +109,7 @@ export default observer(({ channel }: Props) => { "SendEmbeds", "UploadFiles", "Masquerade", + "React", "ManageChannel", "ManagePermissions", ]}