# HG changeset patch # User Kim Alvefur # Date 1329060954 -3600 # Node ID a9249614b0fe672c8b4fb79df5835ad80148e2fb # Parent 5175f6d334706a9455111158cd6f2273f802c86f mod_carbons: Use session.send instead of passing carbon through all the routing diff -r 5175f6d33470 -r a9249614b0fe mod_carbons/mod_carbons.lua --- a/mod_carbons/mod_carbons.lua Thu Feb 09 13:06:14 2012 +0100 +++ b/mod_carbons/mod_carbons.lua Sun Feb 12 16:35:54 2012 +0100 @@ -103,7 +103,7 @@ :tag("forwarded", { xmlns = xmlns_forward }) :add_child(msg); module:log("debug", "Sending carbon"); - core_post_stanza(origin, fwd); + session.send(fwd); end end end