diff options
Diffstat (limited to '50.md')
| -rw-r--r-- | 50.md | 6 |
1 files changed, 5 insertions, 1 deletions
| @@ -41,9 +41,13 @@ implementation details between relays. | |||
| 41 | Clients MAY verify that events returned by a relay match the specified query in a way that suits the | 41 | Clients MAY verify that events returned by a relay match the specified query in a way that suits the |
| 42 | client's use case, and MAY stop querying relays that have low precision. | 42 | client's use case, and MAY stop querying relays that have low precision. |
| 43 | 43 | ||
| 44 | Relays SHOULD exclude spam from search results by default if they supports some form of spam filtering. | 44 | Relays SHOULD exclude spam from search results by default if they support some form of spam filtering. |
| 45 | 45 | ||
| 46 | ## Extensions | 46 | ## Extensions |
| 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 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) | ||