diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-08-24 17:51:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-24 17:51:32 +0200 |
commit | cf615abbf9323f3b73681306090de48f9e13a6b9 (patch) | |
tree | 619d0fd305c3e75649e9e676d8e343d08e4515b6 /app/workers | |
parent | b01a19fe392e0dd16d6b3da3f0b56369f7837cc9 (diff) |
Add configuration to disable private status federation over PuSH (#4582)
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/pubsubhubbub/distribution_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/pubsubhubbub/distribution_worker.rb b/app/workers/pubsubhubbub/distribution_worker.rb index ea246128d..2a5e60fa0 100644 --- a/app/workers/pubsubhubbub/distribution_worker.rb +++ b/app/workers/pubsubhubbub/distribution_worker.rb @@ -14,7 +14,7 @@ class Pubsubhubbub::DistributionWorker @subscriptions = active_subscriptions.to_a distribute_public!(stream_entries.reject(&:hidden?)) - distribute_hidden!(stream_entries.select(&:hidden?)) + distribute_hidden!(stream_entries.select(&:hidden?)) if Rails.configuration.x.use_ostatus_privacy end private |