diff --git a/app.py b/app.py index af78472..bb418ec 100644 --- a/app.py +++ b/app.py @@ -1455,6 +1455,8 @@ def api_delete(): note = _user_api_get_note(from_outbox=True) delete = note.build_delete() + delete = ap.Delete(actor=ID, object=ap.Tombstone(id=note.id).to_dict(embed=True)) + delete_id = tasks.post_to_outbox(delete) return _user_api_response(activity=delete_id)