Prefer the account's current subscription for a moved feed

An old, unsubscribed podcast of the same feed no longer hides the
podcast the account follows now: the preview marks the card as already
subscribed, and subscribing from the card or by URL no longer
resubscribes the old podcast next to the current one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
sanapachandClaude Opus 5.5 committed 2026-11-20 15:12:52 +02:00
1 parent c5f3b3cfa4
commit abd100d6e7
3 files changed
+94 -11

No files matched your search

+3 -2
View File
@@ -305,8 +305,9 @@ Search and subscription from a card (`src/podcasts/search.rs`):
fetches the origin URL, then `runner::subscribe_fetched` writes a
private subscription with the card's id, or the account's existing
podcast for a known URL of `runner::document_urls` (the origin, the end
of a permanent redirect chain, the feed's `itunes:new-feed-url`;
`search::known_podcast`; also used by "add RSS"). The document is
of a permanent redirect chain, the feed's `itunes:new-feed-url`; a
subscribed podcast first, `search::known_podcast`; also used by "add
RSS"). The document is
ingested only into a new podcast or when it came from the existing
podcast's own fetch URL (requested there, or a permanent redirect ended
there); otherwise the podcast is subscribed again with its stored