This is an automated email from the ASF dual-hosted git repository. sebb pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
commit d3222941db450be086f1c71b549b6a6ac0b4b586 Author: Sebb <[email protected]> AuthorDate: Fri Jan 28 21:51:43 2022 +0000 Management interface fails to update body_short This fixes #219 --- server/endpoints/mgmt.py | 1 + 1 file changed, 1 insertion(+) 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 @@ async def process( 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
