about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/services/mute_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/mute_service.rb b/app/services/mute_service.rb
index a9a02937e..547b2efa1 100644
--- a/app/services/mute_service.rb
+++ b/app/services/mute_service.rb
@@ -3,7 +3,7 @@
 class MuteService < BaseService
   def call(account, target_account, notifications: nil)
     return if account.id == target_account.id
-    account.mute!(target_account, notifications: notifications)
+    mute = account.mute!(target_account, notifications: notifications)
     BlockWorker.perform_async(account.id, target_account.id)
     mute
   end