fix: 🐛
This commit is contained in:
parent
89f79b999c
commit
56f0aa9fd5
1 changed files with 1 additions and 2 deletions
|
|
@ -660,8 +660,7 @@ async function extractRelatedEventIds(content: string, parentEvent?: Event) {
|
||||||
? buildETagWithMarker(rootEvent.id, rootEvent.pubkey, hint, 'root')
|
? buildETagWithMarker(rootEvent.id, rootEvent.pubkey, hint, 'root')
|
||||||
: buildETagWithMarker(rootEventHexId, rootEventPubkey, hint, 'root')
|
: buildETagWithMarker(rootEventHexId, rootEventPubkey, hint, 'root')
|
||||||
}
|
}
|
||||||
}
|
} else if (_rootTag?.type === 'a') {
|
||||||
if (_rootTag?.type === 'a') {
|
|
||||||
// Legacy
|
// Legacy
|
||||||
parentTag = buildETagWithMarker(parentEvent.id, parentEvent.pubkey, '', 'reply')
|
parentTag = buildETagWithMarker(parentEvent.id, parentEvent.pubkey, '', 'reply')
|
||||||
const [, coordinate, hint] = _rootTag.tag
|
const [, coordinate, hint] = _rootTag.tag
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue