Create tombstone instead of object deletion

This commit is contained in:
Maxim Filippov 2018-12-24 02:25:36 +03:00
commit 0f412cf6e6
8 changed files with 74 additions and 8 deletions

View file

@ -625,7 +625,7 @@ defmodule Pleroma.UserTest do
# TODO: Remove favorites, repeats, delete activities.
refute Repo.get(Activity, activity.id)
assert Repo.get(Activity, activity.id).data["type"] == "tombstone"
end
test "get_public_key_for_ap_id fetches a user that's not in the db" do