Fix delete Salmons

This commit is contained in:
Eugen Rochko 2016-11-28 19:44:27 +01:00
parent 3ba6531611
commit 5b076cbafb

View file

@ -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?