From c98060943a30525c82845cb9eaccac2cf070a38e Mon Sep 17 00:00:00 2001 From: Mike Dilger Date: Mon, 19 Feb 2024 19:50:08 +1300 Subject: [PATCH] update BEHAVIOR --- docs/BEHAVIOR.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/BEHAVIOR.md b/docs/BEHAVIOR.md index 099af01..85aa077 100644 --- a/docs/BEHAVIOR.md +++ b/docs/BEHAVIOR.md @@ -28,6 +28,13 @@ Chorus serves all events to AUTHed and authorized users. Chorus serves all events which were authored by an authorized user. +Filters which are broad are considered scrapers and are not serviced. Filters must meet one of the following criteria: + +- A non-empty `id` list is set +- A non-empty `authors` list is set and a non-empty `kinds` list is set +- A non-empty `authors` list is set and at least one tag is set. +- A non-empty `kinds` list is set and at least one tag is set. + If you wish to change these rules, change the source code at `nostr.rs:screen_outgoing_event()` ## Abuse, Banning, Throttling, and the like