upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitor Pamplona <vitor@vitorpamplona.com>2025-02-19 10:52:30 -0500
committerGitHub <noreply@github.com>2025-02-19 09:52:30 -0600
commit58287cd641e31999be154c9155dff39f6be138e6 (patch)
treec49d812bd0c8671800759d14a5625ad3bc59746f
parent0f12cf111f0037eff402d9634a0a96f5cc1cd9d4 (diff)
Updates NIP-27 to use `q` tags instead of "mention" markers (#1751)
-rw-r--r--27.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/27.md b/27.md
index 133f8ef..d75672a 100644
--- a/27.md
+++ b/27.md
@@ -10,7 +10,7 @@ This document standardizes the treatment given by clients of inline references o
10 10
11When creating an event, clients should include mentions to other profiles and to other events in the middle of the `.content` using [NIP-21](21.md) codes, such as `nostr:nprofile1qqsw3dy8cpu...6x2argwghx6egsqstvg`. 11When creating an event, clients should include mentions to other profiles and to other events in the middle of the `.content` using [NIP-21](21.md) codes, such as `nostr:nprofile1qqsw3dy8cpu...6x2argwghx6egsqstvg`.
12 12
13Including [NIP-10](10.md)-style tags (`["e", <hex-id>, <relay-url>, <marker>]`) for each reference is optional, clients should do it whenever they want the profile being mentioned to be notified of the mention, or when they want the referenced event to recognize their mention as a reply. 13Including [NIP-18](18.md)'s quote tags (`["q", "<event-id> or <event-address>", "<relay-url>", "<pubkey-if-a-regular-event>"]`) for each reference is optional, clients should do it whenever they want the profile being mentioned to be notified of the mention, or when they want the referenced event to recognize their mention as a reply.
14 14
15A reader client that receives an 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](21.md) links or direct links to web clients that will handle these references. 15A reader client that receives an 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](21.md) links or direct links to web clients that will handle these references.
16 16