]> cat aescling's git repositories - mastodon.git/commitdiff
Fix for incoming favourites
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 19 Mar 2016 21:46:58 +0000 (22:46 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 19 Mar 2016 21:46:58 +0000 (22:46 +0100)
app/services/process_interaction_service.rb

index c00f8c66adb1377101c2205d52b3e72096724988..fd27d667f139cb419157476c6227e94f75b9b88d 100644 (file)
@@ -77,7 +77,7 @@ class ProcessInteractionService < BaseService
   end
 
   def activity_id(xml)
-    xml.at_xpath('/xmlns:entry/xmlns:id').content
+    xml.at_xpath('./activity:object/xmlns:id').content
   end
 
   def salmon