Skip to content

Commit

Permalink
Fix webrtc_instance check in attachment menu
Browse files Browse the repository at this point in the history
  • Loading branch information
maxphilippov committed May 30, 2024
1 parent bf9de28 commit 6951807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/components/composer/menuAttachment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default function MenuAttachment({

// item array used to populate menu
const menu: (ContextMenuItem | false)[] = [
settings?.settings.webrtc_instance !== undefined && {
!!settings?.settings.webrtc_instance && {
icon: 'phone',
label: tx('videochat'),
action: onVideoChat,
Expand Down

0 comments on commit 6951807

Please sign in to comment.