about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-27 19:33:04 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-27 19:33:04 +0200
commit909d0d5e88b046f8bb69c893c54944bb2aad12cf (patch)
tree00ffca4ac1316dbbe8fe94ffd7facc0101bbbf66 /app/services
parente5565a7e4a817e7f86061355b77c98402b0ceac7 (diff)
Adding public timeline silencing
Diffstat (limited to 'app/services')
-rw-r--r--app/services/fan_out_on_write_service.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/fan_out_on_write_service.rb b/app/services/fan_out_on_write_service.rb
index 312994db5..707f74c35 100644
--- a/app/services/fan_out_on_write_service.rb
+++ b/app/services/fan_out_on_write_service.rb
@@ -30,6 +30,7 @@ class FanOutOnWriteService < BaseService
   end
 
   def deliver_to_public(status)
+    return if status.account.silenced?
     FeedManager.instance.broadcast(:public, id: status.id)
   end
 end