Debug like.rb, undo.rb
This commit is contained in:
parent
f7e5adfa70
commit
0feabcf9c3
2 changed files with 5 additions and 6 deletions
|
@ -38,8 +38,6 @@ class ActivityPub::Activity::Like < ActivityPub::Activity
|
|||
end
|
||||
end
|
||||
|
||||
return if @account.reacted?(@original_status, shortcode, emoji)
|
||||
|
||||
return if EmojiReaction.where(account: @account, status: @original_status).count >= BaseController::DEFAULT_EMOJI_REACTION_LIMIT
|
||||
|
||||
EmojiReaction.find_by(account: @account, status: @original_status)&.destroy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue