changeset 14006:0d162ef4e0c1

mod_carbons: Copy archive-id (if any) from original to carbon stanzas
author Matthew Wild <mwild1@gmail.com>
date Sat, 06 Dec 2025 17:30:47 +0000
parents b6d857435de1
children 8fb7408ded73
files plugins/mod_carbons.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_carbons.lua	Sat Dec 06 17:30:05 2025 +0000
+++ b/plugins/mod_carbons.lua	Sat Dec 06 17:30:47 2025 +0000
@@ -144,6 +144,7 @@
 						:tag("forwarded", { xmlns = xmlns_forward })
 							:add_child(copy):reset();
 
+				carbon:set_meta("archive-id", stanza:get_meta("archive-id"));
 			end
 
 			carbon.attr.to = session.full_jid;