nostrdb: only process sent note events, not subs
This commit is contained in:
1 parent
d0daa9fafa
commit
7ecb9aad62
1 file changed
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user