nip50: add autocomplete:true/false search extension (#2357)

This commit is contained in:
Alex Gleason
2026-06-06 15:24:34 -05:00
committed by GitHub
parent cb2d703cae
commit 7a2197c00d

1
50.md
View File

@@ -53,3 +53,4 @@ Relay MAY support these extensions:
- `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)
- `autocomplete:<true/false>` - match the query as a prefix against short, name-shaped fields (e.g. profile `name`/`display_name`/`nip05`, channel `name`, `title` tags) instead of full-text content, suitable for typeahead/autocomplete UIs