Use inbox relays only when fetching messages

This commit is contained in:
Jon Staab
2024-10-15 11:06:24 -07:00
parent 0eae86fa5b
commit ac3c2e7d0b
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -3635,7 +3635,7 @@
}, },
"packages/app": { "packages/app": {
"name": "@welshman/app", "name": "@welshman/app",
"version": "0.0.15", "version": "0.0.16",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@welshman/dvm": "~0.0.10", "@welshman/dvm": "~0.0.10",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@welshman/app", "name": "@welshman/app",
"version": "0.0.15", "version": "0.0.16",
"author": "hodlbod", "author": "hodlbod",
"license": "MIT", "license": "MIT",
"description": "A collection of svelte stores for use in building nostr client applications.", "description": "A collection of svelte stores for use in building nostr client applications.",
+2 -2
View File
@@ -189,8 +189,8 @@ export class Router {
Messages = (pubkeys: string[]) => Messages = (pubkeys: string[]) =>
this.scenario([ this.scenario([
...this.getUserSelections(), ...this.getUserSelections(RelayMode.Inbox),
...this.getPubkeySelections(pubkeys), ...this.getPubkeySelections(pubkeys, RelayMode.Inbox),
]) ])
PublishMessage = (pubkey: string) => PublishMessage = (pubkey: string) =>