diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-10-27 18:47:32 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-10-28 19:05:51 -0500 |
commit | d4eeebb57c4e21f908ad5bbae2b920c31b711dd5 (patch) | |
tree | 28971cfb62521bcbbd896e4e486e66a457182386 /app/services/mute_service.rb | |
parent | 747170006b273e17cb94f7cb938d831fb4a05c7c (diff) |
If a user adds a hard mute, it no longer cause a defederation
Diffstat (limited to 'app/services/mute_service.rb')
-rw-r--r-- | app/services/mute_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |