Merge pull request #83 from ryanalexander/patch-1

Update ContextMenus.tsx
This commit is contained in:
Paul Makles authored and GitHub committed 2021-08-15 23:03:17 +01:00
commit dcb038f986
1 file changed
+9
+9
View File
@@ -860,6 +860,15 @@ function ContextMenus(props: Props) {
}
if (sid && server) {
if (server.channels[0] !== undefined)
generateAction(
{
action: "create_invite",
target: server.channels[0],
},
"create_invite",
);
if (
serverPermissions &
ServerPermission.ChangeNickname ||