]> source.dussan.org Git - rspamd.git/commitdiff
Add subject to get_general_metadata 2712/head
authorAndré Peters <andre.peters@debinux.de>
Mon, 14 Jan 2019 07:19:59 +0000 (08:19 +0100)
committerGitHub <noreply@github.com>
Mon, 14 Jan 2019 07:19:59 +0000 (08:19 +0100)
src/plugins/lua/metadata_exporter.lua

index 951142368f9f01a9dcb608da7d1c145dc72e3cc0..8420bd5547ab812541eab67fda2582074d466ccd 100644 (file)
@@ -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]