Fix delete Salmons

This commit is contained in:
Eugen Rochko 2016-11-28 19:44:27 +01:00
parent 02da8fdcbe
commit 66e01be769

View file

@ -74,7 +74,7 @@ class ProcessInteractionService < BaseService
end end
def delete_post!(xml, account) def delete_post!(xml, account)
status = Status.find(activity_id(xml)) status = Status.find(xml.at_xpath('//xmlns:id').content)
return if status.nil? return if status.nil?