Skip to content
Snippets Groups Projects
Commit a98b9ae5 authored by Simon Tatham's avatar Simon Tatham
Browse files

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
1 merge request!25Major refactoring to handle posts being deleted.
Pipeline #659743 passed with stages
in 10 minutes and 19 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment