From d4eeebb57c4e21f908ad5bbae2b920c31b711dd5 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Tue, 27 Oct 2020 18:47:32 -0500 Subject: If a user adds a hard mute, it no longer cause a defederation --- app/services/mute_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/services/mute_service.rb') diff --git a/app/services/mute_service.rb b/app/services/mute_service.rb index 67df92f5c..5e7e1d292 100644 --- a/app/services/mute_service.rb +++ b/app/services/mute_service.rb @@ -7,7 +7,7 @@ class MuteService < BaseService mute = account.mute!(target_account, notifications: notifications, timelines_only: timelines_only, duration: duration) if mute.hide_notifications? - BlockWorker.perform_async(account.id, target_account.id) + BlockWorker.perform_async(account.id, target_account.id, defederate: false) else MuteWorker.perform_async(account.id, target_account.id) end -- cgit