aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-20 23:31:02 -0700
committerAdam Soltys <[email protected]>2026-09-20 23:31:02 -0700
commitd80d7a5284eea39a80a738302b8202861a4f172d (patch)
tree03eb8d15ce1e3329311412672bcf1437f9ae0426 /src/app.js
parente27eaccee624d9bbc84ce4443d7cfba2db4fa15d (diff)
downloadcoinosv3-d80d7a5284eea39a80a738302b8202861a4f172d.tar.gz
coinosv3-d80d7a5284eea39a80a738302b8202861a4f172d.zip
Deep links: /note1… and /nevent1… open the thread; nostr:note intents route there; posts name the NIP-89 handler.
A NIP-89 handler event (kind 31990, d=coinos) under the coinos key points njump and other pickers at /<npub> for people and /<note> for notes. The client tag on public posts now carries that coordinate. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Diffstat (limited to 'src/app.js')
-rw-r--r--src/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app.js b/src/app.js
index 6a8b6a6..3da5e77 100644
--- a/src/app.js
+++ b/src/app.js
@@ -5472,7 +5472,7 @@ const INTENT_URI = (() => {
const u = new URLSearchParams(location.search).get('u');
if (!u) return null;
history.replaceState(null, '', location.pathname || '/');
- const m = u.match(/^nostr:((npub|nprofile)1[a-z0-9]+)\/?$/i);
+ const m = u.match(/^nostr:((npub|nprofile|note|nevent)1[a-z0-9]+)\/?$/i);
if (m) { history.replaceState(null, '', '/' + m[1]); return null; }
return u;
} catch { return null; }