Skip to content

Commit

Permalink
Make client hints backwards compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Staab authored and fiatjaf committed Nov 27, 2023
1 parent 1a106c6 commit 6de35f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 89.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ Multiple tags might be registered by the app, following NIP-19 nomenclature as t

A tag without a second value in the array SHOULD be considered a generic handler for any NIP-19 entity that is not handled by a different tag.

## Client tag
When publishing events, clients MAY include a `client` tag in the same format as the recommendation event's `a` tags. This has privacy implications for users, so clients SHOULD allow users to opt-out of using this tag.
# Client tag
When publishing events, clients MAY include a `client` tag. Identifying the client that published the note. This tag is a tuple of `name`, `address` identifying a handler event and, a relay `hint` for finding the handler event. This has privacy implications for users, so clients SHOULD allow users to opt-out of using this tag.

```json
{
"kind": 1,
"tags": [
["client", "31990:app1-pubkey:<d-identifier>", "wss://relay1", "ios"]
["client", "My Client", "31990:app1-pubkey:<d-identifier>", "wss://relay1"]
]
...
}
Expand Down

0 comments on commit 6de35f9

Please sign in to comment.