diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-09-26 01:06:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-26 01:06:27 +0200 |
commit | e528114c53e23c39dd013d39b829ad50f620015b (patch) | |
tree | 0d4a2c9f7e61b02d042818652f7e20091151ca32 /app/services/process_mentions_service.rb | |
parent | cf7fbf2c569473e9a984bd3042930f9c5a060a23 (diff) |
Follow-up to #4582 and #5027, removing dead code (#5101)
Diffstat (limited to 'app/services/process_mentions_service.rb')
-rw-r--r-- | app/services/process_mentions_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/process_mentions_service.rb b/app/services/process_mentions_service.rb index f123bf869..1c3eea369 100644 --- a/app/services/process_mentions_service.rb +++ b/app/services/process_mentions_service.rb @@ -39,7 +39,7 @@ class ProcessMentionsService < BaseService if mentioned_account.local? NotifyService.new.call(mentioned_account, mention) - elsif mentioned_account.ostatus? && (Rails.configuration.x.use_ostatus_privacy || !status.stream_entry.hidden?) + elsif mentioned_account.ostatus? && !status.stream_entry.hidden? NotificationWorker.perform_async(stream_entry_to_xml(status.stream_entry), status.account_id, mentioned_account.id) elsif mentioned_account.activitypub? ActivityPub::DeliveryWorker.perform_async(build_json(mention.status), mention.status.account_id, mentioned_account.inbox_url) |