mirror of https://github.com/mastodon/mastodon
Fix delete Salmons
This commit is contained in:
parent
3ba6531611
commit
5b076cbafb
|
@ -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?
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue