mirror of
https://github.com/kikobar/mastodon.git
synced 2024-12-25 15:24:14 +00:00
Fix delete Salmons
This commit is contained in:
parent
3ba6531611
commit
5b076cbafb
|
@ -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?
|
||||
|
||||
|
|
Loading…
Reference in a new issue