1
0
Fork 0
forked from fedi/mastodon

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.
This commit is contained in:
Darius Kazemi 2019-11-07 11:51:48 -08:00 committed by Eugen Rochko
parent 514e427bd2
commit 0092096328

View 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