about summary refs log tree commit diff
path: root/app/services/notify_service.rb
diff options
context:
space:
mode:
authorbeatrix <beatrix.bitrot@gmail.com>2017-05-23 14:05:53 -0400
committerEugen Rochko <eugen@zeonfederated.com>2017-05-23 20:05:52 +0200
commit19ecde8fe77137afc1182132bf81579f933e518b (patch)
tree8acb841c0f46a9e7668e8da83308b5a64378968e /app/services/notify_service.rb
parent7ee5fc5d68df5d09262c2c29b7926fcbd2794c1d (diff)
don't notify me when my toot is faved by someone i muted (#3245)
Diffstat (limited to 'app/services/notify_service.rb')
-rw-r--r--app/services/notify_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/notify_service.rb b/app/services/notify_service.rb
index ce22b6505..422d5f97e 100644
--- a/app/services/notify_service.rb
+++ b/app/services/notify_service.rb
@@ -21,7 +21,7 @@ class NotifyService < BaseService
   end
 
   def blocked_favourite?
-    false
+    @recipient.muting?(@notification.from_account)
   end
 
   def blocked_follow?