rewording non-presence to absence

This commit is contained in:
Fernando López Guevara 2023-07-26 10:30:07 -03:00
parent d1ec51a4a1
commit 5a5e36b517

6
100.md
View File

@ -6,18 +6,18 @@ Querying Events by Tags Presence
`draft` `optional` `author:fernandolguevara` `requires:nip-12` `draft` `optional` `author:fernandolguevara` `requires:nip-12`
This NIP allows clients to query events from relays based on the presence or non-presence of specific tags. This NIP allows clients to query events from relays based on the presence or absence of specific tags.
### Presense: ### Presense:
The filter condition matches if there is at least one tag name in common with the filter and event. The filter condition matches if there is at least one tag name in common with the filter and event.
### Non-Presence: ### Absence:
The filter condition matches if there is at least one tag in the filter that are not present in the event. The filter condition matches if there is at least one tag in the filter that are not present in the event.
Example Subscription Filter Example Subscription Filter
--------------------------- ---------------------------
Below are some example filters that demonstrate tag presence and non-presence: Below are some example filters that demonstrate tag presence and absence:
1. Filter to match events with a `g` tag: 1. Filter to match events with a `g` tag: