ssb: Found that clicking on some message ids wasn't working.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 32m4s

This commit is contained in:
2025-09-23 15:17:02 -04:00
parent 9f0020dec8
commit 3aec7e6c14
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
{ {
"type": "tildefriends-app", "type": "tildefriends-app",
"emoji": "🦀", "emoji": "🦀",
"previous": "&YjhLb+AYKqh7vq6OpAJH1BgypJdAbDcqxSduflyMoCo=.sha256" "previous": "&x37oguxC9LPiOHrvaPmRGa2HNRDNB8QbulsKzdEefnE=.sha256"
} }

View File

@@ -104,12 +104,12 @@ export function markdown(md) {
node.destination.startsWith('@') && node.destination.startsWith('@') &&
node.destination.endsWith('.ed25519') node.destination.endsWith('.ed25519')
) { ) {
node.destination = '#' + node.destination; node.destination = '#' + encodeURIComponent(node.destination);
} else if ( } else if (
node.destination.startsWith('%') && node.destination.startsWith('%') &&
node.destination.endsWith('.sha256') node.destination.endsWith('.sha256')
) { ) {
node.destination = '#' + node.destination; node.destination = '#' + encodeURIComponent(node.destination);
} else if ( } else if (
node.destination.startsWith('&') && node.destination.startsWith('&') &&
node.destination.endsWith('.sha256') node.destination.endsWith('.sha256')