improve parent hints

This commit is contained in:
Jon Staab
2024-03-06 09:07:28 -08:00
parent 25cca2935f
commit 8ac5173d5b
3 changed files with 7 additions and 2 deletions
+2
View File
@@ -122,6 +122,7 @@ export class Router {
return this.scenario([
tags.replies().relays().valueOf(),
tags.roots().relays().valueOf(),
...this.getContextRelayGroups(event),
...tags.whereKey("p").values().valueOf()
.map(pk => this.options.getPubkeyRelays(pk, RelayMode.Outbox)),
@@ -135,6 +136,7 @@ export class Router {
return this.scenario([
tags.roots().relays().valueOf(),
tags.replies().relays().valueOf(),
...this.getContextRelayGroups(event),
...tags.whereKey("p").values().valueOf()
.map(pk => this.options.getPubkeyRelays(pk, RelayMode.Outbox)),