diff options
| author | Alex Gleason <alex@alexgleason.me> | 2024-03-11 00:28:08 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-11 00:28:08 -0500 |
| commit | 9e9ae1eb88db13471faa660a3e4f66d2d5e60a31 (patch) | |
| tree | 92ea67b5fc5754c7095bb9978719e1432393a195 /50.md | |
| parent | c4c9bd00579d6537a87dc047de0a20db730e0da6 (diff) | |
| parent | 0438236268194cfec1e0e02579e29e75bd52b173 (diff) | |
Merge pull request #1113 from nostr-wine/nip50-extensions
NIP-50: add event classification extensions
Diffstat (limited to '50.md')
| -rw-r--r-- | 50.md | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -47,4 +47,7 @@ Relays SHOULD exclude spam from search results by default if they support some f | |||
| 47 | 47 | ||
| 48 | Relay MAY support these extensions: | 48 | Relay MAY support these extensions: |
| 49 | - `include:spam` - turn off spam filtering, if it was enabled by default | 49 | - `include:spam` - turn off spam filtering, if it was enabled by default |
| 50 | - `domain:<domain>` - include events from users whose valid nip05 domain matches the domain | 50 | - `domain:<domain>` - include only events from users whose valid nip05 domain matches the domain |
| 51 | - `language:<two letter ISO 639-1 language code>` - include only events of a specified language | ||
| 52 | - `sentiment:<negative/neutral/positive>` - include only events of a specific sentiment | ||
| 53 | - `nsfw:<true/false>` - include or exclude nsfw events (default: true) | ||