diff --git a/src/components/NotePostForm.tsx b/src/components/NotePostForm.tsx index 78430c4..7ea8e1c 100644 --- a/src/components/NotePostForm.tsx +++ b/src/components/NotePostForm.tsx @@ -225,7 +225,7 @@ const NotePostForm: Component = (props) => { ...notifyPubkeys(), ...pubkeyReferences, // 本文中の公開鍵(npub) ]), - rootEventId: replyTo()?.rootEvent()?.id, + rootEventId: replyTo()?.rootEvent()?.id ?? replyTo()?.replyingToEvent()?.id, replyEventId: replyTo()?.id, }; }