From 27af174753b2b08e06e107f4f4defac953d6c991 Mon Sep 17 00:00:00 2001 From: mleku Date: Fri, 10 Oct 2025 09:07:43 +0100 Subject: [PATCH] Implement event deletion logic with relay handling in App.svelte and add connectToRelay method in NostrClient This commit enhances the event deletion process by introducing conditional publishing to external relays based on user roles and ownership. It also adds a new method in the NostrClient class to connect to a single relay, improving the flexibility of relay management. The version is bumped to v0.12.3 to reflect these changes. --- app/web/src/App.svelte | 47 +++++++++++++++++++++++++++------- app/web/src/nostr.js | 58 ++++++++++++++++++++++++++++++++++++++++++ pkg/version/version | 2 +- 3 files changed, 97 insertions(+), 10 deletions(-) diff --git a/app/web/src/App.svelte b/app/web/src/App.svelte index cddc55d..0b91989 100644 --- a/app/web/src/App.svelte +++ b/app/web/src/App.svelte @@ -1,6 +1,6 @@