Add queued messages back.

Fix various code issues.
i18n invite menu.
This commit is contained in:
Paul
2021-07-31 10:31:16 +01:00
parent 23a9d41450
commit 6750812916
17 changed files with 83 additions and 74 deletions

View File

@@ -782,11 +782,15 @@ function ContextMenus(props: Props) {
break;
case "TextChannel":
case "VoiceChannel":
// ! FIXME: add permission for invites
generateAction({
action: "create_invite",
target: channel,
});
if (
channelPermissions &
ChannelPermission.InviteOthers
) {
generateAction({
action: "create_invite",
target: channel,
});
}
if (
serverPermissions &