mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-03-25 17:21:52 +01:00
adds that clients shouldnt publish contradictory handlers
This commit is contained in:
parent
0619f370bc
commit
4eb4b13927
11
89.md
11
89.md
@ -74,6 +74,17 @@ Using a `k` tag(s) (instead of having the kind of the `d` tag) provides:
|
||||
|
||||
Multiple tags might be registered by the app, following NIP-19 nomenclature as the second value of the array.
|
||||
|
||||
No contradictory hints can appear. Apps should not publish handlers with the same `platform:type` duple.
|
||||
|
||||
For example: an event with:
|
||||
|
||||
```jsonc
|
||||
["web", "https://.../path1/<bech32>", "nevent"],
|
||||
["web", "https://.../path2/<bech32>", "nevent"],
|
||||
```
|
||||
|
||||
where the `web` + `nevent` duple is duplicated with contradictory values is invalid and clients SHOULD ignore it.
|
||||
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user