mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-23 00:45:53 -05:00
feat(nip100): ask for empty/non present tags
This commit is contained in:
parent
239ae10579
commit
5f77c0e254
9
100.md
9
100.md
|
@ -21,6 +21,15 @@ Below is an example filter that matches events with a `g` tag in their structure
|
|||
}
|
||||
```
|
||||
|
||||
Other filter example that matches events with an empty/non present `e` tag in their structure:
|
||||
|
||||
|
||||
```json
|
||||
{
|
||||
"tags": ["!e"]
|
||||
}
|
||||
```
|
||||
|
||||
Suggested Use Cases
|
||||
-------------------
|
||||
One of the suggested use cases for this NIP is for location-specific events. Clients can utilize the provided filter example to locate events with specific location-related tags, regardless of how the location information has been stored in the events.
|
Loading…
Reference in New Issue
Block a user