From c1ebb829b9de17cc465c084652890250460497d7 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Wed, 15 Jul 2026 08:34:31 +0900 Subject: [PATCH] podcast: fix panic on note1 targets, nip19.Decode returns an EventPointer for those. --- podcast.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/podcast.go b/podcast.go index 5446a5a..b0bf508 100644 --- a/podcast.go +++ b/podcast.go @@ -157,8 +157,7 @@ func resolvePodcastEpisode(ctx context.Context, target string, relayHints []stri pointer := value.(nostr.EventPointer) return fetchSpecificPodcastEpisode(ctx, pointer, relayHints) case "note": - pointer := nostr.EventPointer{ID: value.(nostr.ID)} - return fetchSpecificPodcastEpisode(ctx, pointer, relayHints) + return fetchSpecificPodcastEpisode(ctx, value.(nostr.EventPointer), relayHints) } }