mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-03-29 03:02:07 +01:00
Add content
restriction to NIP-26
This commit is contained in:
parent
025beb332c
commit
b71a190db5
5
26.md
5
26.md
@ -43,6 +43,9 @@ The following fields and operators are supported in the above query string:
|
||||
- *Operators*:
|
||||
- `<${TIMESTAMP}` - delegatee may only sign events created ***before*** the specified timestamp
|
||||
- `>${TIMESTAMP}` - delegatee may only sign events created ***after*** the specified timestamp
|
||||
3. `content`
|
||||
- *Operators*:
|
||||
- `=${CONTENT}` - delegatee may only sign events with this content
|
||||
|
||||
In order to create a single condition, you must use a supported field and operator. Multiple conditions can be used in a single query string, including on the same field. Conditions must be combined with `&`.
|
||||
|
||||
@ -103,4 +106,4 @@ Clients should display the delegated note as if it was published directly by the
|
||||
|
||||
#### Relay & Client Querying Support
|
||||
|
||||
Relays should answer requests such as `["REQ", "", {"authors": ["A"]}]` by querying both the `pubkey` and delegation tags `[1]` value.
|
||||
Relays should answer requests such as `["REQ", "", {"authors": ["A"]}]` by querying both the `pubkey` and delegation tags `[1]` value.
|
||||
|
Loading…
x
Reference in New Issue
Block a user