]> cat aescling's git repositories - mastodon.git/commitdiff
don't notify me when my toot is faved by someone i muted (#3245)
authorbeatrix <beatrix.bitrot@gmail.com>
Tue, 23 May 2017 18:05:53 +0000 (14:05 -0400)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 23 May 2017 18:05:52 +0000 (20:05 +0200)
app/services/notify_service.rb

index ce22b650598f5213120b8f4a035b5c512ab3f3ed..422d5f97e54a7ed705cb24492cbc5d2e5c3020ca 100644 (file)
@@ -21,7 +21,7 @@ class NotifyService < BaseService
   end
 
   def blocked_favourite?
-    false
+    @recipient.muting?(@notification.from_account)
   end
 
   def blocked_follow?