diff --git a/app/soapbox/features/ui/components/modals/compose-modal.tsx b/app/soapbox/features/ui/components/modals/compose-modal.tsx index 079bedc42d..f29df90420 100644 --- a/app/soapbox/features/ui/components/modals/compose-modal.tsx +++ b/app/soapbox/features/ui/components/modals/compose-modal.tsx @@ -27,7 +27,7 @@ const ComposeModal: React.FC = ({ onClose, composeId = 'compose-m const node = useRef(null); const compose = useCompose(composeId); - const { id: statusId, privacy, in_reply_to: inReplyTo, quote } = compose!; + const { id: statusId, privacy, in_reply_to: inReplyTo, quote, group_id: groupId } = compose!; const { isDragging, isDraggedOver } = useDraggedFiles(node, (files) => { dispatch(uploadCompose(composeId, files, intl)); @@ -59,6 +59,10 @@ const ComposeModal: React.FC = ({ onClose, composeId = 'compose-m return ; } else if (privacy === 'direct') { return ; + } else if (inReplyTo && groupId) { + return ; + } else if (groupId) { + return ; } else if (inReplyTo) { return ; } else if (quote) {