stanza_router: Call core_post_stanza from core_route_stanza in place of old routing code

Thu, 25 Jun 2009 08:04:10 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Thu, 25 Jun 2009 08:04:10 +0500
changeset 1408
9b745496b953
parent 1407
85ec12aec35f
child 1409
e34cbd9baf8b

stanza_router: Call core_post_stanza from core_route_stanza in place of old routing code

core/stanza_router.lua file | annotate | diff | comparison | revisions
--- a/core/stanza_router.lua	Thu Jun 25 07:59:04 2009 +0500
+++ b/core/stanza_router.lua	Thu Jun 25 08:04:10 2009 +0500
@@ -212,6 +212,7 @@
 	local host_session = hosts[host]
 	if host_session and host_session.type == "local" then
 		-- old stanza routing code removed
+		core_post_stanza(origin, stanza);
 	elseif origin.type == "c2s" then
 		-- Remote host
 		local xmlns = stanza.attr.xmlns;

mercurial