Fix status trends
This commit is contained in:
parent
81f32dee4f
commit
8a412f0f59
2 changed files with 3 additions and 1 deletions
|
@ -36,6 +36,8 @@ class ActivityPub::Activity::Like < ActivityPub::Activity
|
|||
emoji.uri = uri
|
||||
emoji.image_remote_url = image_url
|
||||
end
|
||||
|
||||
Trends.statuses.register(@original_status)
|
||||
end
|
||||
|
||||
return if EmojiReaction.where(account: @account, status: @original_status).count >= EmojiReaction::EMOJI_REACTION_PER_ACCOUNT_LIMIT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue