From a5a4f312ccb44a33dd2c685d735a96bf0acb8838 Mon Sep 17 00:00:00 2001 From: Artur Brugeman Date: Tue, 24 Jan 2023 09:03:59 +0300 Subject: [PATCH] Add mention of supported_nips by mikedilger --- 50.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/50.md b/50.md index f0ee843..470da1c 100644 --- a/50.md +++ b/50.md @@ -4,7 +4,7 @@ NIP-50 Keywords Filter --------------- -`draft` `optional` `author:brugeman` +`draft` `optional` `author:brugeman` `author:mikedilger` ## Abstract @@ -28,6 +28,8 @@ a `NOTICE` to inform the client. Future NIPs will specify behavior for other eve A filter matches if one of the provided `keywords` matches. Each keyword string may contain several conditions - `words`, all the words must match for a keyword to match. The meaning of `words` depends on event kind. +Clients SHOULD use the supported_nips field to learn if a relay supports keyword filter queries. + Clients SHOULD query several relays supporting this NIP and specific kind to compensate for potentially different implementation details between relays (like string sanitization, etc).