Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bugfix] Clean up boosts of status when the status itself is deleted #579

Merged
merged 13 commits into from
May 18, 2022

Conversation

tsmethurst
Copy link
Contributor

This PR adds logic for cleaning up boosts of a status from the database when the status itself has been deleted. This should prevent issues like #477 where a user's timeline could break if a boost was put into it for a status that was subsequently removed from the database.

The PR also does a bit of tidying up of some code duplication in the processor, by moving the logic for wiping out a status into the fromcommon file.

closes #477

@tsmethurst tsmethurst changed the title Status reblog cleanup [bugfix] Clean up boosts of statuses when a status itself is deleted May 16, 2022
@tsmethurst tsmethurst changed the title [bugfix] Clean up boosts of statuses when a status itself is deleted [bugfix] Clean up boosts of status when the status itself is deleted May 16, 2022
@NyaaaWhatsUpDoc NyaaaWhatsUpDoc merged commit b2810fe into main May 18, 2022
@NyaaaWhatsUpDoc NyaaaWhatsUpDoc deleted the status_reblog_cleanup branch May 18, 2022 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] Deleting a status of your own that's just been boosted by someone you follow breaks the home timeline
2 participants