mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-27 02:35:52 -05:00
Guidance for clients
This commit is contained in:
parent
63f1b46ceb
commit
fadfa6e021
2
02.md
2
02.md
|
@ -9,6 +9,8 @@ Contact List and Petnames
|
|||
A special event with kind `3`, meaning "contact list" is defined as having a list of `p`, `t`, `r`, `e` or `a` tags, one for each of the profiles, hashtags and other events such as communities or chats one is following.
|
||||
|
||||
Each `p` tag entry should contain the key for the profile, a relay URL where events from that key can be found (can be set to an empty string if not needed), and a local name (or "petname") for that profile (can also be set to an empty string or not provided), i.e., `["p", <32-bytes hex key>, <main relay URL>, <petname>]`. The `content` can be anything and should be ignored.
|
||||
|
||||
Clients are not expected to support all types of follows, but MUST not delete unsupported tags when updating the contact list.
|
||||
|
||||
For example:
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user