upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/nip46.rs
diff options
context:
space:
mode:
authorYour Name <you@example.com>2026-05-27 15:32:38 +0530
committerYour Name <you@example.com>2026-05-27 15:32:38 +0530
commitd889b890f9e63815c178853ed98a1e31f6cec7f8 (patch)
tree3eda17e8edaf61cc6dba640ae12a24e90c9d8b8c /src/nip46.rs
parentd60fa03de6edae0667a93ac36be4206e76255a2c (diff)
Fix compile issues for NIP-46 build
- nip46.rs: match on owned RelayPoolNotification (not .as_ref()) - git_mirror.rs: accept shared nostr_sdk::Client for state event publishing - main.rs: pass nostr_client to mirror_repo_to_servers - NIP46-PLAN.md: full implementation checklist and roadmap - PLAN.md: updated
Diffstat (limited to 'src/nip46.rs')
-rw-r--r--src/nip46.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nip46.rs b/src/nip46.rs
index bedc814..c3b1e86 100644
--- a/src/nip46.rs
+++ b/src/nip46.rs
@@ -156,10 +156,10 @@ impl Nip46Client {
156 let db = db.clone(); 156 let db = db.clone();
157 157
158 async move { 158 async move {
159 if let RelayPoolNotification::Event { event, .. } = notification.as_ref() { 159 if let RelayPoolNotification::Event { event, .. } = notification {
160 if event.kind == Kind::Custom(24133) { 160 if event.kind == Kind::Custom(24133) {
161 let _ = 161 let _ =
162 Self::handle_response(&sessions, &pending, &db, event).await; 162 Self::handle_response(&sessions, &pending, &db, &event).await;
163 } 163 }
164 } 164 }
165 Ok(false) 165 Ok(false)