Merge branch 'master' into glitch-soc/merge-upstream
Conflicts: - app/controllers/following_accounts_controller.rb Conflicts were due to glitch-soc's theming system. - app/javascript/packs/public.js Some code has been change upstream, but it has been moved to app/javascript/core/settings.js in glitch-soc. Applied the changes there.
This commit is contained in:
@ -14,7 +14,11 @@ class Export
|
||||
end
|
||||
|
||||
def to_muted_accounts_csv
|
||||
to_csv account.muting.select(:username, :domain)
|
||||
CSV.generate(headers: ['Account address', 'Hide notifications'], write_headers: true) do |csv|
|
||||
account.mute_relationships.includes(:target_account).reorder(id: :desc).each do |mute|
|
||||
csv << [acct(mute.target_account), mute.hide_notifications]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def to_following_accounts_csv
|
||||
|
Reference in New Issue
Block a user