Merge pull request #1113 from nostr-wine/nip50-extensions

NIP-50: add event classification extensions
This commit is contained in:
Alex Gleason 2024-03-11 00:28:08 -05:00 committed by GitHub
commit 9e9ae1eb88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

5
50.md
View File

@ -47,4 +47,7 @@ Relays SHOULD exclude spam from search results by default if they support some f
Relay MAY support these extensions:
- `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
- `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)