1
0
Fork 0
forked from fedi/mastodon

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