forked from Kieran/snort
add author from mentioned event
This commit is contained in:
parent
0306683c87
commit
0fdcd36877
@ -16,7 +16,10 @@ export default function useEventFeed(link: NostrLink) {
|
|||||||
f.kinds([unwrap(link.kind)]);
|
f.kinds([unwrap(link.kind)]);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
b.withFilter().id(link.id, link.relays?.at(0));
|
const f = b.withFilter().id(link.id, link.relays?.at(0));
|
||||||
|
if (link.author) {
|
||||||
|
f.authors([link.author]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return b;
|
return b;
|
||||||
}, [link]);
|
}, [link]);
|
||||||
|
Loading…
Reference in New Issue
Block a user