Fix crash in MergeWorker (#14129)

Similarly to #12324, the code is passing an Account object where an id
is expected.
lolsob-rspec
ThibG 2020-06-23 16:40:01 +02:00 committed by GitHub
parent 6c42b23382
commit df13142cdd
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ class FeedManager
crutches = build_crutches(into_account.id, statuses)
statuses.each do |status|
next if filter_from_home?(status, into_account, crutches)
next if filter_from_home?(status, into_account.id, crutches)
add_to_feed(:home, into_account.id, status, aggregate)
end