mirror of
https://github.com/yattee/yattee.git
synced 2026-10-23 13:12:53 +00:00
A synced context change had no effect on the pre-revamp `subscriptionAccount` setting several views still read, nor on the feed cache, which is global rather than account-keyed — so a selection made on another device left this one showing the previous account's subscriptions and videos. Both now follow every context change, whoever made it. Instances replaced wholesale by iCloud bypassed `saveInstances()` and so posted no change notification. A legacy authenticated instance arriving that way never reached account migration: no account row, and no action to adopt its saved login, until an unrelated edit or a relaunch. Deleting an instance now deletes the accounts on it, while the instance is still resolvable — afterwards the account's credential manager cannot be determined from its type and the credential would be stranded. Only an explicit deletion cascades; an instance vanishing from iCloud leaves its accounts orphaned, because absence is not a deletion. A context whose instance has been switched off is temporarily unavailable rather than valid. The account stays signed in, so nothing about the account said the server had been turned off, and requests kept going to it while the switcher already hid it.