upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/50.md
diff options
context:
space:
mode:
authornostr.wine <124309146+nostr-wine@users.noreply.github.com>2024-03-08 11:23:22 -0500
committerGitHub <noreply@github.com>2024-03-08 11:23:22 -0500
commitd11f50bd0ad6663eb53e1da495f8a8b91bb194f5 (patch)
treea00c0536fd011d528ccfeda50970521adb1b8682 /50.md
parentc4c9bd00579d6537a87dc047de0a20db730e0da6 (diff)
NIP-50: add event classification extensions
Diffstat (limited to '50.md')
-rw-r--r--50.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/50.md b/50.md
index 6603303..a3fcf87 100644
--- a/50.md
+++ b/50.md
@@ -47,4 +47,8 @@ Relays SHOULD exclude spam from search results by default if they support some f
47 47
48Relay MAY support these extensions: 48Relay 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)