From eed490f579ff6128862e27fa8ff3ecbd3d2f6728 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 12 Jun 2026 15:08:42 +0000 Subject: [PATCH] fix: open app definitions by address instead of version event id MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Clicking an app in the recommendations editor (or any 31990 link) navigated to Route.Note(event.id) — the per-id version note, which the soft cache evicts and relays can't serve for replaceables — leaving the thread stuck on 'Event is loading or can't be found'. Route by addressTag() like the generic AddressableEvent branch already does. https://claude.ai/code/session_015dX5vWqvXUYD8rzPYX8vTB --- .../vitorpamplona/amethyst/ui/navigation/routes/RouteMaker.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/navigation/routes/RouteMaker.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/navigation/routes/RouteMaker.kt index 48ef26c9b4..49b7f9766c 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/navigation/routes/RouteMaker.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/navigation/routes/RouteMaker.kt @@ -100,7 +100,9 @@ fun routeForInner( if (noteEvent.includeKind(5300)) { Route.ContentDiscovery(noteEvent.id) } else { - Route.Note(noteEvent.id) + // By address, not version id: the per-id note may have been + // evicted and relays don't serve replaceables by old ids. + Route.Note(noteEvent.addressTag()) } }