Debug like.rb
This commit is contained in:
parent
e744ecc05f
commit
f7e5adfa70
1 changed files with 4 additions and 6 deletions
|
@ -6,12 +6,10 @@ class ActivityPub::Activity::Like < ActivityPub::Activity
|
|||
|
||||
return if @original_status.nil? || !@original_status.account.local? || delete_arrived_first?(@json['id'])
|
||||
|
||||
lock_or_fail("like:#{object_uri}") do
|
||||
if shortcode.nil?
|
||||
process_favourite
|
||||
else
|
||||
process_emoji_reaction
|
||||
end
|
||||
if shortcode.nil?
|
||||
process_favourite
|
||||
else
|
||||
process_emoji_reaction
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue