fix: attempt to fix issue of no parent reply

This commit is contained in:
codytseng
2025-01-21 22:58:22 +08:00
parent d35199f693
commit e9ebf1bc00
2 changed files with 11 additions and 6 deletions

View File

@@ -60,7 +60,7 @@ export async function createShortTextNoteDraftEvent(
const tags = pubkeys
.map((pubkey) => ['p', pubkey])
.concat(otherRelatedEventIds.map((eventId) => ['e', eventId]))
.concat(quoteEventIds.map((eventId) => ['q', eventId]))
.concat(quoteEventIds.map((eventId) => ['q', eventId, '', 'mention']))
.concat(hashtags.map((hashtag) => ['t', hashtag]))
if (rootEventId) {