upleb.uk

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

summaryrefslogtreecommitdiff
path: root/12.md
diff options
context:
space:
mode:
authorjiftechnify <jiftech.stlfy@gmail.com>2023-07-09 12:32:26 +0900
committerfiatjaf_ <fiatjaf@gmail.com>2023-07-09 07:17:08 -0300
commit3a32c0fd781bb1b6e2d23eb83da9f0b56e4a233e (patch)
tree4c341e5b595dd5013842c451889692b67f269056 /12.md
parent141197c564d97073f0293e3b2f367f0b6b3619c2 (diff)
clarify case-sensitiveness of tag names
Diffstat (limited to '12.md')
-rw-r--r--12.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/12.md b/12.md
index 74c9d81..7d1f46e 100644
--- a/12.md
+++ b/12.md
@@ -8,7 +8,7 @@ Generic Tag Queries
8 8
9Relays may support subscriptions over arbitrary tags. `NIP-01` requires relays to respond to queries for `e` and `p` tags. This NIP allows any single-letter tag present in an event to be queried. 9Relays may support subscriptions over arbitrary tags. `NIP-01` requires relays to respond to queries for `e` and `p` tags. This NIP allows any single-letter tag present in an event to be queried.
10 10
11The `<filters>` object described in `NIP-01` is expanded to contain arbitrary keys with a `#` prefix. Any single-letter key in a filter beginning with `#` is a tag query, and MUST have a value of an array of strings. The filter condition matches if the event has a tag with the same name, and there is at least one tag value in common with the filter and event. The tag name is the letter without the `#`, and the tag value is the second element. Subsequent elements are ignored for the purposes of tag queries. 11The `<filters>` object described in `NIP-01` is expanded to contain arbitrary keys with a `#` prefix. Any single-letter key in a filter beginning with `#` is a tag query, and MUST have a value of an array of strings. The filter condition matches if the event has a tag with the same name, and there is at least one tag value in common with the filter and event. The tag name is the letter without the `#`, and the tag value is the second element. Subsequent elements are ignored for the purposes of tag queries. Note that tag names are case-sensitive.
12 12
13Example Subscription Filter 13Example Subscription Filter
14--------------------------- 14---------------------------