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
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ class FeedManager
crutches = build_crutches(account.id, statuses) crutches = build_crutches(account.id, statuses)
statuses.each do |status| 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) add_to_feed(:home, account.id, status, aggregate)
end end