1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-01 08:18:53 +09:00

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?