]> cat aescling's git repositories - mastodon.git/commitdiff
Fix typo
authorEugen Rochko <eugen@zeonfederated.com>
Tue, 8 Nov 2016 00:48:17 +0000 (01:48 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 8 Nov 2016 00:48:17 +0000 (01:48 +0100)
app/services/process_feed_service.rb

index 7ec46cac20734f1d161565ddbf6a43ec88ac4b9d..a051164d3d6acab727d3533f40afe222c7d83851 100644 (file)
@@ -42,7 +42,7 @@ class ProcessFeedService < BaseService
       status = status_from_xml(@xml)
 
       if verb == :share
-        original_status = status_from_xml(xml.at_xpath('.//activity:object', activity: ACTIVITY_NS))
+        original_status = status_from_xml(@xml.at_xpath('.//activity:object', activity: ACTIVITY_NS))
         status.reblog   = original_status
       end