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:
authorArtur Brugeman <brugeman.artur@gmail.com>2023-01-24 09:03:59 +0300
committerGitHub <noreply@github.com>2023-01-24 09:03:59 +0300
commita5a4f312ccb44a33dd2c685d735a96bf0acb8838 (patch)
tree5abfce1af434a50d1890e16e78e842fa6f7bdbd6 /50.md
parent086d224e1d75366ec45d23544159ed9c5610010a (diff)
Add mention of supported_nips by mikedilger
Diffstat (limited to '50.md')
-rw-r--r--50.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/50.md b/50.md
index f0ee843..470da1c 100644
--- a/50.md
+++ b/50.md
@@ -4,7 +4,7 @@ NIP-50
4Keywords Filter 4Keywords Filter
5--------------- 5---------------
6 6
7`draft` `optional` `author:brugeman` 7`draft` `optional` `author:brugeman` `author:mikedilger`
8 8
9## Abstract 9## Abstract
10 10
@@ -28,6 +28,8 @@ a `NOTICE` to inform the client. Future NIPs will specify behavior for other eve
28A filter matches if one of the provided `keywords` matches. Each keyword string may contain several conditions - `words`, 28A filter matches if one of the provided `keywords` matches. Each keyword string may contain several conditions - `words`,
29all the words must match for a keyword to match. The meaning of `words` depends on event kind. 29all the words must match for a keyword to match. The meaning of `words` depends on event kind.
30 30
31Clients SHOULD use the supported_nips field to learn if a relay supports keyword filter queries.
32
31Clients SHOULD query several relays supporting this NIP and specific kind to compensate for potentially different 33Clients SHOULD query several relays supporting this NIP and specific kind to compensate for potentially different
32implementation details between relays (like string sanitization, etc). 34implementation details between relays (like string sanitization, etc).
33 35