]> cat aescling's git repositories - mastodon.git/commit
Fix various issues with account migration (#12301)
authorThibG <thib@sitedethib.com>
Thu, 7 Nov 2019 07:05:07 +0000 (08:05 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 7 Nov 2019 07:05:07 +0000 (09:05 +0200)
commit66c1fe0495b7e4728ad776e9c41a70c180640ea5
tree857ede9138d9fe398211f9c3f66f3b8ce77950e4
parent699427777a52af1fbc3d2a12c1be9f9f081b17fd
Fix various issues with account migration (#12301)

* Fix being able to follow oneself by moving to an account that was following the old one

* Add specs

* Add spec to catch MoveWorker issue with local followers following both accounts

* Fix move worker breaking when a local account follows both source and target accounts

* Fix migration from remote to local account not sending Undo Follow

* Fix show_reblogs not being preserved for moved account's followers
app/services/follow_service.rb
app/workers/move_worker.rb
app/workers/unfollow_follow_worker.rb
spec/workers/move_worker_spec.rb [new file with mode: 0644]
spec/workers/unfollow_follow_worker_spec.rb [new file with mode: 0644]