url when deleting

This commit is contained in:
rimu 2024-06-01 20:32:08 +12:00
parent 0a1ea7d0e3
commit 3b6ea486ce

View file

@ -1483,6 +1483,7 @@ def post_delete(post_id: int):
current_user.followers_url()
],
'object': post.ap_id,
'uri': post.ap_id
}
if post.user_id != current_user.id:
delete_json['summary'] = 'Deleted by mod'