mirror of
https://github.com/yattee/yattee.git
synced 2026-10-23 13:12:53 +00:00
Pagination carried the login it was requested for, but the load that fills the tab in the first place did not. Its subscriptions, feed and playlist requests all resolve well after the credential behind them can have been replaced, and cancelling the previous task does not settle it: a request that already came back races the cancellation and installs the previous person's private videos over the purge that was meant to remove them. Popular and trending stay unfenced — they are unauthenticated, and discarding them on a change of login would cost a fetch for nothing. Discarding the account-scoped content now also forgets how far the feed had been read. The high-water mark belongs to the feed that was thrown away; left behind, it gates pagination against a page the next login never loaded, and that login cannot ask for a second page until its first exceeds a count it knows nothing about.