diff options
author | André Peters <andre.peters@debinux.de> | 2019-01-14 08:19:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-14 08:19:59 +0100 |
commit | 96603c2db41a173421a6a97cb5f4832c4fbe4b4f (patch) | |
tree | 728cb4428d1a3a8f60dc7a68f747da0a4c08a69f /src/plugins/lua/metadata_exporter.lua | |
parent | 776a0273b5dc02498fcc24373bdb76ae608219fa (diff) | |
download | rspamd-96603c2db41a173421a6a97cb5f4832c4fbe4b4f.tar.gz rspamd-96603c2db41a173421a6a97cb5f4832c4fbe4b4f.zip |
Add subject to get_general_metadata
Diffstat (limited to 'src/plugins/lua/metadata_exporter.lua')
-rw-r--r-- | src/plugins/lua/metadata_exporter.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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] |