Allow (was scraper) filters with limit<10

This commit is contained in:
Mike Dilger committed 2024-02-20 06:41:43 +13:00
1 parent 452522c39d
commit 3a9f4a7e98
4 files changed
+4 -2

No files matched your search

+1
View File
@@ -34,6 +34,7 @@ Filters which are broad are considered scrapers and are not serviced. Filters mu
- 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.
- Has a limit <= 10.
If you wish to change these rules, change the source code at `nostr.rs:screen_outgoing_event()`
+1
View File
@@ -111,6 +111,7 @@ This is a boolean indicating whether or not scraping is allowed. Scraping is any
- 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.
- Has a limit <= 10
Filter that fail to match these conditions will be rejected if `allow_scraping` is false.