about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-28 19:44:27 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-28 19:44:27 +0100
commit5b076cbafb0e9395b557d4ff7dea01ed71986888 (patch)
treec2167ce72abe9457f0b42e459440bdcb570e700b /app/services
parent3ba6531611458dfe6c6538c27eec394e92d0fd75 (diff)
Fix delete Salmons
Diffstat (limited to 'app/services')
-rw-r--r--app/services/process_interaction_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/process_interaction_service.rb b/app/services/process_interaction_service.rb
index 3159a4ded..6b2f6e2d2 100644
--- a/app/services/process_interaction_service.rb
+++ b/app/services/process_interaction_service.rb
@@ -74,7 +74,7 @@ class ProcessInteractionService < BaseService
   end
 
   def delete_post!(xml, account)
-    status = Status.find(activity_id(xml))
+    status = Status.find(xml.at_xpath('//xmlns:id').content)
 
     return if status.nil?