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

Fix newlines in accout notes added by the Move handler #16415

Merged
merged 2 commits into from
Jun 23, 2021

Conversation

ClearlyClaire
Copy link
Contributor

There's also some defensive programming stuff to avoid an error affecting one account from affecting other accounts.

Indeed, I have had a report about some behavior that I can only explain by the Move worker failing midway in either copy_account_notes! or carry_blocks_over!, but I have not had access to that server's logs yet, so I don't know what happened exactly. This change would not have fixed the underlying cause, but it would have made it so it didn't prevent the block from carrying over.

Copy link
Contributor

@weex weex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Gargron Gargron merged commit 1c21dcf into mastodon:main Jun 23, 2021
Gargron pushed a commit that referenced this pull request Nov 5, 2021
* Fix newlines in account notes added by the move handler

* Make MoveWorker more robust
kadoshita pushed a commit to kadoshita/mastodon that referenced this pull request Nov 6, 2021
* Fix newlines in account notes added by the move handler

* Make MoveWorker more robust
kadoshita pushed a commit to kadoshita/mastodon that referenced this pull request Nov 7, 2021
* Fix newlines in account notes added by the move handler

* Make MoveWorker more robust
ClearlyClaire added a commit to ClearlyClaire/mastodon that referenced this pull request Jan 28, 2022
* Fix newlines in account notes added by the move handler

* Make MoveWorker more robust
jesseplusplus pushed a commit to jesseplusplus/decodon that referenced this pull request Feb 10, 2022
* Fix newlines in account notes added by the move handler

* Make MoveWorker more robust
jesseplusplus pushed a commit to jesseplusplus/decodon that referenced this pull request May 18, 2022
* Fix newlines in account notes added by the move handler

* Make MoveWorker more robust
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.

3 participants