diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/voiceMessages/index.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/voiceMessages/index.tsx b/src/plugins/voiceMessages/index.tsx index b5b9c73..40578a6 100644 --- a/src/plugins/voiceMessages/index.tsx +++ b/src/plugins/voiceMessages/index.tsx @@ -220,7 +220,7 @@ function Modal({ modalProps }: { modalProps: ModalProps; }) { } const ctxMenuPatch: NavContextMenuPatchCallback = (children, props) => () => { - if (props.channel.guild_id && !PermissionStore.can(PermissionsBits.SEND_VOICE_MESSAGES, props.channel)) return; + if (props.channel.guild_id && !(PermissionStore.can(PermissionsBits.SEND_VOICE_MESSAGES, props.channel) && PermissionStore.can(PermissionsBits.SEND_MESSAGES, props.channel))) return; children.push( <Menu.MenuItem |