upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Staab <shtaab@gmail.com>2023-11-27 06:22:15 -0800
committerfiatjaf_ <fiatjaf@gmail.com>2023-11-27 12:11:36 -0300
commit6de35f9e6a50cd5bf88c0a350ef369919ac27f06 (patch)
tree8fa55f464e32a82b888f9725d98156ec97330ceb
parent1a106c6bff20a9408fe0ec51b265e3c5de86d25f (diff)
Make client hints backwards compatible
-rw-r--r--89.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/89.md b/89.md
index 097bdcb..43d197f 100644
--- a/89.md
+++ b/89.md
@@ -74,14 +74,14 @@ Multiple tags might be registered by the app, following NIP-19 nomenclature as t
74 74
75A 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. 75A 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.
76 76
77## Client tag 77# Client tag
78When 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. 78When 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.
79 79
80```json 80```json
81{ 81{
82 "kind": 1, 82 "kind": 1,
83 "tags": [ 83 "tags": [
84 ["client", "31990:app1-pubkey:<d-identifier>", "wss://relay1", "ios"] 84 ["client", "My Client", "31990:app1-pubkey:<d-identifier>", "wss://relay1"]
85 ] 85 ]
86 ... 86 ...
87} 87}