commit | d3222941db450be086f1c71b549b6a6ac0b4b586 | [log] [tgz] |
---|---|---|
author | Sebb <sebb@apache.org> | Fri Jan 28 21:51:43 2022 +0000 |
committer | Sebb <sebb@apache.org> | Fri Jan 28 21:51:43 2022 +0000 |
tree | f30e4458cc2bba9a325b94c71a2561dc16c97cb0 | |
parent | a40fa671afea5c973ce29f8059eff839fbfbf9bc [diff] |
Management interface fails to update body_short This fixes #219
diff --git a/server/endpoints/mgmt.py b/server/endpoints/mgmt.py index 61bcf5f..6e69c82 100644 --- a/server/endpoints/mgmt.py +++ b/server/endpoints/mgmt.py
@@ -175,6 +175,7 @@ email["list"] = lid email["list_raw"] = lid email["body"] = new_body + email["body_short"] = new_body[:plugins.messages.SHORT_BODY_MAX_LEN+1] if attach_edit is not None: # Only set if truly editing attachments... email["attachments"] = attach_edit