Merge pull request #83 from ryanalexander/patch-1

Update ContextMenus.tsx
This commit is contained in:
Paul Makles 2021-08-15 23:03:17 +01:00 committed by GitHub
commit dcb038f986
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -860,6 +860,15 @@ function ContextMenus(props: Props) {
} }
if (sid && server) { if (sid && server) {
if (server.channels[0] !== undefined)
generateAction(
{
action: "create_invite",
target: server.channels[0],
},
"create_invite",
);
if ( if (
serverPermissions & serverPermissions &
ServerPermission.ChangeNickname || ServerPermission.ChangeNickname ||