forked from cybrespace/mastodon
Fix Tombstone.delete_all ArgumentError (#9978)
This commit is contained in:
parent
46e806cd2f
commit
e186bd2fb0
|
@ -212,7 +212,7 @@ class ActivityPub::ProcessAccountService < BaseService
|
||||||
end
|
end
|
||||||
|
|
||||||
def clear_tombstones!
|
def clear_tombstones!
|
||||||
Tombstone.delete_all(account_id: @account.id)
|
Tombstone.where(account_id: @account.id).delete_all
|
||||||
end
|
end
|
||||||
|
|
||||||
def protocol_changed?
|
def protocol_changed?
|
||||||
|
|
Loading…
Reference in New Issue