]> cat aescling's git repositories - mastodon.git/commit
Change move handler to carry blocks over (#14144)
authorThibG <thib@sitedethib.com>
Wed, 1 Jul 2020 11:51:15 +0000 (13:51 +0200)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2020 11:51:15 +0000 (13:51 +0200)
commit35cedc922ced6502f18b11353df661cf61c8ae2f
tree10c12d29a781dc398df9a98e7ec4a40183975cc8
parent411bf188bbb9acb48b7bb1a14066f4975e036940
Change move handler to carry blocks over (#14144)

* Change move handler to carry blocks and mutes over

When user A blocks user B and B moves to a new account C, make A block C
accordingly.

Note that it only works if A's instance is aware of the Move, that is,
if B is on A's instance or has followers there.

* Also notify instances with known people blocking you when moving

* Add automatic account notes when blocking/muting an account that had no note
app/workers/activitypub/move_distribution_worker.rb
app/workers/move_worker.rb
config/i18n-tasks.yml
config/locales/en.yml
spec/fabricators/account_migration_fabricator.rb
spec/workers/activitypub/move_distribution_worker_spec.rb [new file with mode: 0644]
spec/workers/move_worker_spec.rb