mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-15 15:44:56 +01:00
35cedc922c
* 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
7 lines
253 B
Ruby
7 lines
253 B
Ruby
Fabricator(:account_migration) do
|
|
account
|
|
target_account { |attrs| Fabricate(:account, also_known_as: [ActivityPub::TagManager.instance.uri_for(attrs[:account])]) }
|
|
acct { |attrs| attrs[:target_account].acct }
|
|
followers_count 1234
|
|
end
|