fix: 🐛
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user