mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 16:35:52 -05:00
rewording non-presence to absence
This commit is contained in:
parent
d1ec51a4a1
commit
5a5e36b517
6
100.md
6
100.md
|
@ -6,18 +6,18 @@ Querying Events by Tags Presence
|
|||
|
||||
`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:
|
||||
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.
|
||||
|
||||
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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user