Fix when react to reblog
This commit is contained in:
parent
734b6d9a57
commit
e68aa7ad7c
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ class EmojiReactService < BaseService
|
|||
# @param [string] name
|
||||
# @return [Favourite]
|
||||
def call(account, status, name)
|
||||
status = status.reblog if status.reblog? && !status.reblog.nil?
|
||||
authorize_with account, status, :emoji_reaction?
|
||||
|
||||
emoji_reaction = EmojiReaction.find_by(account: account, status: status, name: name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue