diff options
author | ThibG <thib@sitedethib.com> | 2020-07-01 13:51:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-01 13:51:15 +0200 |
commit | 35cedc922ced6502f18b11353df661cf61c8ae2f (patch) | |
tree | 10c12d29a781dc398df9a98e7ec4a40183975cc8 /app/workers/activitypub | |
parent | 411bf188bbb9acb48b7bb1a14066f4975e036940 (diff) |
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
Diffstat (limited to 'app/workers/activitypub')
-rw-r--r-- | app/workers/activitypub/move_distribution_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/activitypub/move_distribution_worker.rb b/app/workers/activitypub/move_distribution_worker.rb index bf1c0e7ae..65c5c0d1c 100644 --- a/app/workers/activitypub/move_distribution_worker.rb +++ b/app/workers/activitypub/move_distribution_worker.rb @@ -24,7 +24,7 @@ class ActivityPub::MoveDistributionWorker private def inboxes - @inboxes ||= @migration.account.followers.inboxes + @inboxes ||= (@migration.account.followers.inboxes + @migration.account.blocked_by.inboxes).uniq end def signed_payload |