diff --git a/app/lib/importer/statuses_index_importer.rb b/app/lib/importer/statuses_index_importer.rb index ca4b01d0e8..9fbce14478 100644 --- a/app/lib/importer/statuses_index_importer.rb +++ b/app/lib/importer/statuses_index_importer.rb @@ -55,6 +55,7 @@ class Importer::StatusesIndexImporter < Importer::BaseImporter local_statuses_scope, local_mentions_scope, local_favourites_scope, + local_emoji_reacted_scope, local_votes_scope, local_bookmarks_scope, ] @@ -70,6 +71,10 @@ class Importer::StatusesIndexImporter < Importer::BaseImporter Favourite.where(account: Account.local).select(:id, :status_id) end + def local_emoji_reacted_scope + EmojiReaction.where(account: Account.local).select(:id, :status_id) + end + def local_bookmarks_scope Bookmark.select(:id, :status_id) end