Fix domain hiding logic (#7765)
* Send rejections to followers when user hides domain they're on * Use account domain blocks for "authorized followers" action Replace soft-blocking (block & unblock) behaviour with follow rejection * Split sync and async work of account domain blocking Do not create domain block when removing followers by domain, that is probably unexpected from the user's perspective. * Adjust confirmation message for domain block * yarn manage:translations
This commit is contained in:
parent
91e5d9f8af
commit
10f51c9886
12 changed files with 84 additions and 63 deletions
|
@ -13,7 +13,7 @@ class Settings::FollowerDomainsController < ApplicationController
|
|||
def update
|
||||
domains = bulk_params[:select] || []
|
||||
|
||||
SoftBlockDomainFollowersWorker.push_bulk(domains) do |domain|
|
||||
AfterAccountDomainBlockWorker.push_bulk(domains) do |domain|
|
||||
[current_account.id, domain]
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue