Add local emoji reacted scope when statuses index importing
This commit is contained in:
parent
43bc0b4cac
commit
41b254af55
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue