Handle posts being deleted from the home feed.
This is the payoff for a lot of the refactorings in this series. Now that File handles updating to a new list of ids by doing its own correlation between indices in the old and new lists, it doesn't depend on a fixed overlap between the two lists any more, which makes it possible to modify the list so that there _isn't_ a simple overlap. As a result, when the author of a post on your home timeline deletes it, and we get a streaming update saying they've done so, we can simply remove that id from the list in the Feed, and trust File to just sort itself out as best it can.
parent
07a5b423
No related branches found
No related tags found
Loading
Please register or sign in to comment