diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-08 02:08:32 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-08 02:08:32 +0100 |
commit | bb4d1eb2e86ec6227c18df29ce0f0f25ae2f6ee3 (patch) | |
tree | e0230cf6dc1913631aa333cc1b0724dfcc9863aa /app/services/fan_out_on_write_service.rb | |
parent | 096bfbad966e7dbd0ea2d71b12d1f411daabdb72 (diff) |
Improve feed regeneration
Diffstat (limited to 'app/services/fan_out_on_write_service.rb')
-rw-r--r-- | app/services/fan_out_on_write_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/fan_out_on_write_service.rb b/app/services/fan_out_on_write_service.rb index 674665592..4f8777a50 100644 --- a/app/services/fan_out_on_write_service.rb +++ b/app/services/fan_out_on_write_service.rb @@ -33,7 +33,7 @@ class FanOutOnWriteService < BaseService status.mentions.includes(:account).each do |mention| mentioned_account = mention.account - next if !mentioned_account.local? || mentioned_account.id == status.account_id || FeedManager.instance.filter?(:mentions, status, mentioned_account) + next if !mentioned_account.local? || FeedManager.instance.filter?(:mentions, status, mentioned_account) FeedManager.instance.push(:mentions, mentioned_account, status) end end |