commit 96603c2: Add subject to get_general_metadata
GitHub
noreply at github.com
Tue Jan 15 18:00:03 UTC 2019
Author: André Peters
Date: 2019-01-14 08:19:59 +0100
URL: https://github.com/rspamd/rspamd/commit/96603c2db41a173421a6a97cb5f4832c4fbe4b4f (refs/pull/2712/head)
Add subject to get_general_metadata
---
src/plugins/lua/metadata_exporter.lua | 1 +
1 file changed, 1 insertion(+)
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]
More information about the Commits
mailing list