mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
url when deleting
This commit is contained in:
parent
0a1ea7d0e3
commit
3b6ea486ce
1 changed files with 1 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Reference in a new issue