From 3aec7e6c14b9628b0103b779a35e6c7fa175be9e Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Tue, 23 Sep 2025 15:17:02 -0400 Subject: [PATCH] ssb: Found that clicking on some message ids wasn't working. --- apps/ssb.json | 2 +- apps/ssb/tf-utils.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/ssb.json b/apps/ssb.json index 43b5dd3a..0fdb301a 100644 --- a/apps/ssb.json +++ b/apps/ssb.json @@ -1,5 +1,5 @@ { "type": "tildefriends-app", "emoji": "🦀", - "previous": "&YjhLb+AYKqh7vq6OpAJH1BgypJdAbDcqxSduflyMoCo=.sha256" + "previous": "&x37oguxC9LPiOHrvaPmRGa2HNRDNB8QbulsKzdEefnE=.sha256" } diff --git a/apps/ssb/tf-utils.js b/apps/ssb/tf-utils.js index 74a55a12..e5d8136a 100644 --- a/apps/ssb/tf-utils.js +++ b/apps/ssb/tf-utils.js @@ -104,12 +104,12 @@ export function markdown(md) { node.destination.startsWith('@') && node.destination.endsWith('.ed25519') ) { - node.destination = '#' + node.destination; + node.destination = '#' + encodeURIComponent(node.destination); } else if ( node.destination.startsWith('%') && node.destination.endsWith('.sha256') ) { - node.destination = '#' + node.destination; + node.destination = '#' + encodeURIComponent(node.destination); } else if ( node.destination.startsWith('&') && node.destination.endsWith('.sha256')