From 758be4ce1f04df7bf661220049c1ad199baf857d Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Fri, 15 Jul 2022 21:49:46 +0100 Subject: [PATCH] Explicitly emit null instead of dropping from output --- lualib/lua_mime.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lualib/lua_mime.lua b/lualib/lua_mime.lua index 575e9152c..80e1080b5 100644 --- a/lualib/lua_mime.lua +++ b/lualib/lua_mime.lua @@ -607,7 +607,7 @@ exports.message_to_ucl = function(task, stringify_content) from_ip = maybe_stringify_ip(task:get_from_ip()), } if not next(result.envelope) then - result.envelope = nil + result.envelope = ucl.null end local parts = task:get_parts() or E -- 2.39.5