Debug for receiving post edits

main
Bob Mottram 2022-04-09 13:14:04 +01:00
parent ffa23deaab
commit 1d46483996
1 changed files with 4 additions and 0 deletions

View File

@ -3706,6 +3706,10 @@ def _inbox_after_initial(server,
person_cache, post_json_object, debug, person_cache, post_json_object, debug,
signing_priv_key_pem) signing_priv_key_pem)
if json_obj.get('updated') and json_obj.get('id'):
updated_post_id = remove_id_ending(json_obj['id'])
print('Receiving edit to post ' + updated_post_id)
# save the post to file # save the post to file
if save_json(post_json_object, destination_filename): if save_json(post_json_object, destination_filename):
if mitm: if mitm: