From efc26fb2a00017ba6e8c7519ea00cc911947e02c Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sun, 29 Jul 2018 17:19:06 +0200 Subject: [PATCH] Fix delete --- app.py | 2 ++ 1 file changed, 2 insertions(+) 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)