diff options
| author | Artur Brugeman <brugeman.artur@gmail.com> | 2023-01-24 09:03:59 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-24 09:03:59 +0300 |
| commit | a5a4f312ccb44a33dd2c685d735a96bf0acb8838 (patch) | |
| tree | 5abfce1af434a50d1890e16e78e842fa6f7bdbd6 | |
| parent | 086d224e1d75366ec45d23544159ed9c5610010a (diff) | |
Add mention of supported_nips by mikedilger
| -rw-r--r-- | 50.md | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -4,7 +4,7 @@ NIP-50 | |||
| 4 | Keywords Filter | 4 | Keywords 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 | |||
| 28 | A filter matches if one of the provided `keywords` matches. Each keyword string may contain several conditions - `words`, | 28 | A filter matches if one of the provided `keywords` matches. Each keyword string may contain several conditions - `words`, |
| 29 | all the words must match for a keyword to match. The meaning of `words` depends on event kind. | 29 | all the words must match for a keyword to match. The meaning of `words` depends on event kind. |
| 30 | 30 | ||
| 31 | Clients SHOULD use the supported_nips field to learn if a relay supports keyword filter queries. | ||
| 32 | |||
| 31 | Clients SHOULD query several relays supporting this NIP and specific kind to compensate for potentially different | 33 | Clients SHOULD query several relays supporting this NIP and specific kind to compensate for potentially different |
| 32 | implementation details between relays (like string sanitization, etc). | 34 | implementation details between relays (like string sanitization, etc). |
| 33 | 35 | ||