From: Eugen Rochko Date: Mon, 28 Nov 2016 18:44:27 +0000 (+0100) Subject: Fix delete Salmons X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=5b076cbafb0e9395b557d4ff7dea01ed71986888;p=mastodon.git Fix delete Salmons --- 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?