mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-08 16:28:49 +00:00
fix: must be tag not ref.
This commit is contained in:
@@ -81,7 +81,7 @@ export function parseReferences(evt: Event): Reference[] {
|
|||||||
}
|
}
|
||||||
case 'a': {
|
case 'a': {
|
||||||
try {
|
try {
|
||||||
let [kind, pubkey, identifier] = ref[1].split(':')
|
let [kind, pubkey, identifier] = tag[1].split(':')
|
||||||
references.push({
|
references.push({
|
||||||
text: ref[0],
|
text: ref[0],
|
||||||
address: {
|
address: {
|
||||||
|
|||||||
Reference in New Issue
Block a user