1
0
mirror of git://jb55.com/damus synced 2024-09-16 02:03:45 +00:00

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