From 7ecb9aad62473cf4a55b5c7963048834560e6aa4 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Fri, 6 Oct 2023 10:40:10 -0700 Subject: [PATCH] nostrdb: only process sent note events, not subs --- damus/Nostr/RelayPool.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/damus/Nostr/RelayPool.swift b/damus/Nostr/RelayPool.swift index 85c7cad2..9643350f 100644 --- a/damus/Nostr/RelayPool.swift +++ b/damus/Nostr/RelayPool.swift @@ -219,7 +219,7 @@ class RelayPool { // send to local relay (nostrdb) switch req { case .typical(let r): - if let rstr = make_nostr_req(r) { + if case .event = r, let rstr = make_nostr_req(r) { ndb.process_client_event(rstr) } case .custom(let string):