diff options
| author | nostr.wine <124309146+nostr-wine@users.noreply.github.com> | 2024-03-08 11:23:22 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-08 11:23:22 -0500 |
| commit | d11f50bd0ad6663eb53e1da495f8a8b91bb194f5 (patch) | |
| tree | a00c0536fd011d528ccfeda50970521adb1b8682 | |
| parent | c4c9bd00579d6537a87dc047de0a20db730e0da6 (diff) | |
NIP-50: add event classification extensions
| -rw-r--r-- | 50.md | 6 |
1 files changed, 5 insertions, 1 deletions
| @@ -47,4 +47,8 @@ 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 | - `topic:<topic>` - include only events within a classified topic (short string, one to two words) | ||
| 52 | - `language:<two letter ISO 639-1 language code>` - include only events of a specified language | ||
| 53 | - `sentiment:<negative/neutral/positive>` - include only events of a specific sentiment | ||
| 54 | - `nsfw:<true/false>` - include or exclude nsfw events (default: true) | ||