Skip to content

Commit

Permalink
Fix crash in MergeWorker
Browse files Browse the repository at this point in the history
Similarly to mastodon#12324, the code is passing an Account object where an id
is expected.
  • Loading branch information
ClearlyClaire committed Jun 23, 2020
1 parent aaf91ab commit 490e533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/feed_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def merge_into_timeline(from_account, into_account)
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
Expand Down

0 comments on commit 490e533

Please sign in to comment.