Show message id for malformed cipher

merge-requests/30/head
Bob Mottram 2023-02-03 15:14:56 +00:00
parent ef7d283e04
commit 8769429944
1 changed files with 1 additions and 0 deletions

View File

@ -3180,6 +3180,7 @@ def _valid_post_content(base_dir: str, nickname: str, domain: str,
return False
if invalid_ciphertext(message_json['object']['content']):
print('REJECT: malformed ciphertext in content ' +
message_json['object']['id'] + ' ' +
message_json['object']['content'])
return False
if debug: