From bf6e1a854a92350510b16506b414817325b3d552 Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Tue, 12 Nov 2024 13:52:02 -0800 Subject: [PATCH] Abort bunker on destroy --- src/app/commands.ts | 2 +- src/app/components/LogInBunker.svelte | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app/commands.ts b/src/app/commands.ts index b2b3ac7b..d870f432 100644 --- a/src/app/commands.ts +++ b/src/app/commands.ts @@ -340,7 +340,7 @@ export const sendWrapped = async ({ uniq(pubkeys).map(async recipient => publishThunk({ event: await nip59.wrap(recipient, stamp(template)), - relays: ctx.app.router.PublishMessage(recipient).getUrls(), + relays: ctx.app.router.PubkeyInbox(recipient).getUrls(), delay, }), ), diff --git a/src/app/components/LogInBunker.svelte b/src/app/components/LogInBunker.svelte index 2e976814..a36374f6 100644 --- a/src/app/components/LogInBunker.svelte +++ b/src/app/components/LogInBunker.svelte @@ -1,4 +1,5 @@