upleb.uk

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

summaryrefslogtreecommitdiff
path: root/27.md
diff options
context:
space:
mode:
authorarthurfranca <arthur.a.franca@gmail.com>2023-03-23 19:37:10 -0300
committerarthurfranca <arthur.a.franca@gmail.com>2023-03-23 19:37:10 -0300
commit45b1860b52025182d6400fd804a5d376a183ee40 (patch)
tree337d15ad5a63d34db3076845311b9934eef87bac /27.md
parent2b926f54cdc6eb779de27510b1be20336c933ef9 (diff)
Mention other nostr identifiers
Diffstat (limited to '27.md')
-rw-r--r--27.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/27.md b/27.md
index 235b4a5..f4e4629 100644
--- a/27.md
+++ b/27.md
@@ -13,6 +13,8 @@ Once a mention is identified by a client, for example, when an user pastes a NIP
13The same process applies for referencing event IDs (using `nostr:nevent1...`), except that the client SHOULD NOT add the event id to the `.tags` with the tag `e` so to not negatively impact thread loading. 13The same process applies for referencing event IDs (using `nostr:nevent1...`), except that the client SHOULD NOT add the event id to the `.tags` with the tag `e` so to not negatively impact thread loading.
14Because `e` tags on `text notes` are usually considered ancestor events used to build a conversarion thread (as per NIP-10), it is advised to use inline references when mentioning events and NOT adding corresponding `e` tag to the `.tags` event key. 14Because `e` tags on `text notes` are usually considered ancestor events used to build a conversarion thread (as per NIP-10), it is advised to use inline references when mentioning events and NOT adding corresponding `e` tag to the `.tags` event key.
15 15
16Other nostr identifiers should be referenced similarly using NIP-21 URLs inside event content (e.g. `nostr:naddr1...` for parameterized replaceable events).
17
16Note that the usage of `nostr:npub1...` for profile mentions or `nostr:note1...` for event mentions is discouraged due to their lack of embedded relay recommendation. 18Note that the usage of `nostr:npub1...` for profile mentions or `nostr:note1...` for event mentions is discouraged due to their lack of embedded relay recommendation.
17 19
18A reader client that receives a `text_note` event with such `nostr:...` mentions in its `.content` CAN do any desired context augmentation (for example, linking to the profile or showing a preview of the mentioned event contents) it wants in the process. If turning such mentions into links, they could become internal links, NIP-21 links or direct links to web clients that will handle these references. 20A reader client that receives a `text_note` event with such `nostr:...` mentions in its `.content` CAN do any desired context augmentation (for example, linking to the profile or showing a preview of the mentioned event contents) it wants in the process. If turning such mentions into links, they could become internal links, NIP-21 links or direct links to web clients that will handle these references.