about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-03-02 18:49:32 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-03-02 18:49:32 +0100
commitc64a1c25c4e9a07c694863a38334ed66e368752e (patch)
tree9d60c6b37a6adb60b20a674630587de4e55d8765 /app/services
parent442fdbfc5309f46c23a073829e5fe16d10c7c6ca (diff)
Fix #231 - Muting
Diffstat (limited to 'app/services')
-rw-r--r--app/services/unmute_service.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/unmute_service.rb b/app/services/unmute_service.rb
index ed268b7c5..6aeea358f 100644
--- a/app/services/unmute_service.rb
+++ b/app/services/unmute_service.rb
@@ -5,5 +5,7 @@ class UnmuteService < BaseService
     return unless account.muting?(target_account)
 
     account.unmute!(target_account)
+
+    MergeWorker.perform_async(target_account.id, account.id) if account.following?(target_account)
   end
 end