From: Jason Stephenson Date: Fri, 15 Jul 2022 20:49:46 +0000 (+0100) Subject: Explicitly emit null instead of dropping from output X-Git-Tag: 3.3~129^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=758be4ce1f04df7bf661220049c1ad199baf857d;p=rspamd.git Explicitly emit null instead of dropping from output --- 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