mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-17 05:54:19 +01:00
fix: use reply as root if root is undefined
This commit is contained in:
@@ -225,7 +225,7 @@ const NotePostForm: Component<NotePostFormProps> = (props) => {
|
||||
...notifyPubkeys(),
|
||||
...pubkeyReferences, // 本文中の公開鍵(npub)
|
||||
]),
|
||||
rootEventId: replyTo()?.rootEvent()?.id,
|
||||
rootEventId: replyTo()?.rootEvent()?.id ?? replyTo()?.replyingToEvent()?.id,
|
||||
replyEventId: replyTo()?.id,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user