diff --git a/package/src/components/MessageInput/components/NativeAttachmentPicker.tsx b/package/src/components/MessageInput/components/NativeAttachmentPicker.tsx index 4e989d29b..ee79f0713 100644 --- a/package/src/components/MessageInput/components/NativeAttachmentPicker.tsx +++ b/package/src/components/MessageInput/components/NativeAttachmentPicker.tsx @@ -120,9 +120,8 @@ export const NativeAttachmentPicker = ({ // do not allow poll creation in threads const buttons = - threadList && hasCreatePoll && ownCapabilities.sendPoll - ? [] - : [ + !threadList && hasCreatePoll && ownCapabilities.sendPoll + ? [ { icon: , id: 'Poll', @@ -130,7 +129,8 @@ export const NativeAttachmentPicker = ({ openPollCreationDialog?.({ sendMessage }); }, }, - ]; + ] + : []; if (hasImagePicker) { buttons.push({