nostrdb: only process sent note events, not subs

This commit is contained in:
William Casarin
2023-10-06 10:40:10 -07:00
parent d0daa9fafa
commit 7ecb9aad62

View File

@@ -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):