kopia lustrzana https://git.sr.ht/~tsileo/microblog.pub
Fix delete
rodzic
1d1f8e7cf5
commit
efc26fb2a0
2
app.py
2
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)
|
||||
|
|
Ładowanie…
Reference in New Issue