]> cat aescling's git repositories - mastodon.git/commitdiff
Fix type mismatch (#12324)
authorDarius Kazemi <darius.kazemi@gmail.com>
Thu, 7 Nov 2019 19:51:48 +0000 (11:51 -0800)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 7 Nov 2019 19:51:48 +0000 (21:51 +0200)
This was [causing an issue with feed regeneartion in tootctl](https://github.com/hometown-fork/hometown/issues/24), and @davefp fixed the issue.

app/lib/feed_manager.rb

index d8b486b6094ef770ee458332625d5d3e809dad60..3f167f0d8884f0eb0b13593d174447d91cd7c596 100644 (file)
@@ -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