jb55 on Nostr: query to filter spam from strangers: ``` ["REQ","thread", ...
query to filter spam from strangers:
```
["REQ","thread",
{"ids":["0000"],"#e":[thread_id]},
{"authors":[thread_authors_friends], "#e":[thread_id]}
]
```
Where 0000 is determined from the integer pow difficulty on the posters profile or thread (needed so clients know what pow to do if the client knows they are a stranger when replying).
Whats nice about this is that its a configurable client thing, its not some exclusionary default at the relay level like fixed pow requirements.
#nostr #spam
```
["REQ","thread",
{"ids":["0000"],"#e":[thread_id]},
{"authors":[thread_authors_friends], "#e":[thread_id]}
]
```
Where 0000 is determined from the integer pow difficulty on the posters profile or thread (needed so clients know what pow to do if the client knows they are a stranger when replying).
Whats nice about this is that its a configurable client thing, its not some exclusionary default at the relay level like fixed pow requirements.
#nostr #spam