Fix quote posts being treated as replies

- When quotedEvent is present, don't pass event as replyTo in ComposeBox
- This ensures quote posts are published as kind 1 with q tags, not replies
- Repost (kind 6) was already working correctly

Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
This commit is contained in:
shakespeare.diy
2026-02-18 17:55:15 -06:00
parent fcc2ef606d
commit ba43340e8c
+1 -1
View File
@@ -56,7 +56,7 @@ export function ReplyComposeModal({ event, quotedEvent, open, onOpenChange }: Re
{/* Compose area */}
<ComposeBox
replyTo={event ?? undefined}
replyTo={isQuote ? undefined : (event ?? undefined)}
quotedEvent={quotedEvent ?? undefined}
onSuccess={() => onOpenChange(false)}
placeholder={isReply ? "What's on your mind?" : isQuote ? "Add a comment..." : "What's happening?"}