Changeset

5888:b5a110544fd4

mod_report_forward: Include id on report submissions
author Matthew Wild <mwild1@gmail.com>
date Tue, 12 Mar 2024 14:07:00 +0000
parents 5887:ca62f9984f4b
children 5889:bfc35ae9edcb
files mod_report_forward/mod_report_forward.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_report_forward/mod_report_forward.lua	Tue Mar 12 10:56:41 2024 +0000
+++ b/mod_report_forward/mod_report_forward.lua	Tue Mar 12 14:07:00 2024 +0000
@@ -117,7 +117,7 @@
 		reported_message_time = dt.datetime(reported_message_time);
 	});
 
-	local message = st.message({ from = module.host })
+	local message = st.message({ from = module.host, id = new_id() })
 		:text_tag("body", body_text)
 		:add_child(report);