mirror of
git://jb55.com/damus
synced 2024-09-18 19:23:49 +00:00
nostrdb: only process sent note events, not subs
This commit is contained in:
parent
d0daa9fafa
commit
7ecb9aad62
@ -219,7 +219,7 @@ class RelayPool {
|
|||||||
// send to local relay (nostrdb)
|
// send to local relay (nostrdb)
|
||||||
switch req {
|
switch req {
|
||||||
case .typical(let r):
|
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)
|
ndb.process_client_event(rstr)
|
||||||
}
|
}
|
||||||
case .custom(let string):
|
case .custom(let string):
|
||||||
|
Loading…
Reference in New Issue
Block a user