mirror of
https://github.com/kikobar/mastodon.git
synced 2024-12-25 23:34:14 +00:00
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 a new issue