about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDarius Kazemi <darius.kazemi@gmail.com>2019-11-07 11:51:48 -0800
committerEugen Rochko <eugen@zeonfederated.com>2019-11-07 21:51:48 +0200
commit0092096328bcde6f90f965c7e22e5db763732053 (patch)
tree139d80ea0b1b2af707d2e6ee379c6d3df0feddd2
parent514e427bd2877e53323791797f508d4ab5007396 (diff)
Fix type mismatch (#12324)
This was [causing an issue with feed regeneartion in tootctl](https://github.com/hometown-fork/hometown/issues/24), and @davefp fixed the issue.
-rw-r--r--app/lib/feed_manager.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/feed_manager.rb b/app/lib/feed_manager.rb
index d8b486b60..3f167f0d8 100644
--- a/app/lib/feed_manager.rb
+++ b/app/lib/feed_manager.rb
@@ -153,7 +153,7 @@ class FeedManager
       crutches = build_crutches(account.id, statuses)
 
       statuses.each do |status|
-        next if filter_from_home?(status, account, crutches)
+        next if filter_from_home?(status, account.id, crutches)
 
         add_to_feed(:home, account.id, status, aggregate)
       end