Debug undo.rb
This commit is contained in:
parent
df0b8723d7
commit
bf6e427160
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ class ActivityPub::Activity::Undo < ActivityPub::Activity
|
|||
emoji = CustomEmoji.find_by(shortcode: shortcode, domain: @account.domain)
|
||||
end
|
||||
|
||||
emoji_reaction = @original_status.emoji_reactions.where(account: @account, name: shortcode, custom_emoji: emoji).first&
|
||||
emoji_reaction = @original_status.emoji_reactions.where(account: @account, name: shortcode, custom_emoji: emoji).first
|
||||
|
||||
if emoji_reaction
|
||||
emoji_reaction.destroy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue