mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 16:35:52 -05:00
NIP-50: add event classification extensions
This commit is contained in:
parent
c4c9bd0057
commit
d11f50bd0a
6
50.md
6
50.md
|
@ -47,4 +47,8 @@ Relays SHOULD exclude spam from search results by default if they support some f
|
||||||
|
|
||||||
Relay MAY support these extensions:
|
Relay MAY support these extensions:
|
||||||
- `include:spam` - turn off spam filtering, if it was enabled by default
|
- `include:spam` - turn off spam filtering, if it was enabled by default
|
||||||
- `domain:<domain>` - include events from users whose valid nip05 domain matches the domain
|
- `domain:<domain>` - include only events from users whose valid nip05 domain matches the domain
|
||||||
|
- `topic:<topic>` - include only events within a classified topic (short string, one to two words)
|
||||||
|
- `language:<two letter ISO 639-1 language code>` - include only events of a specified language
|
||||||
|
- `sentiment:<negative/neutral/positive>` - include only events of a specific sentiment
|
||||||
|
- `nsfw:<true/false>` - include or exclude nsfw events (default: true)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user