aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-11-05 19:55:04 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-11-05 19:55:04 +0000
commitf32f0c8435634bc985e90ca0327cfbe754c4043d (patch)
tree4b7813806d74e91d7bb2d409728c2deb2fb1dfc3
parent2a6221210381d48e6323ecb3ff4ce125fa499a75 (diff)
downloadrspamd-f32f0c8435634bc985e90ca0327cfbe754c4043d.tar.gz
rspamd-f32f0c8435634bc985e90ca0327cfbe754c4043d.zip
[Minor] Store newlines type
-rw-r--r--lualib/lua_mime.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_mime.lua b/lualib/lua_mime.lua
index 44294efff..ffc1fb2f9 100644
--- a/lualib/lua_mime.lua
+++ b/lualib/lua_mime.lua
@@ -584,7 +584,7 @@ exports.message_to_ucl = function(task)
local result = {}
result.size = task:get_size()
result.digest = task:get_digest()
-
+ result.newlines = task:get_newlines_type()
result.headers = task:get_headers(true) or {}
local parts = task:get_parts() or {}