From: André Peters Date: Mon, 14 Jan 2019 07:19:59 +0000 (+0100) Subject: Add subject to get_general_metadata X-Git-Tag: 1.9.0~315^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F2712%2Fhead;p=rspamd.git Add subject to get_general_metadata --- diff --git a/src/plugins/lua/metadata_exporter.lua b/src/plugins/lua/metadata_exporter.lua index 951142368..8420bd554 100644 --- a/src/plugins/lua/metadata_exporter.lua +++ b/src/plugins/lua/metadata_exporter.lua @@ -74,6 +74,7 @@ local function get_general_metadata(task, flatten, no_content) end r.user = task:get_user() or 'unknown' r.qid = task:get_queue_id() or 'unknown' + r.subject = task:get_subject() or 'unknown' r.action = task:get_metric_action('default') local s = task:get_metric_score('default')[1]