mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-20 11:35:29 +01: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 New Issue
Block a user