Changeset

1408:9b745496b953

stanza_router: Call core_post_stanza from core_route_stanza in place of old routing code
author Waqas Hussain <waqas20@gmail.com>
date Thu, 25 Jun 2009 08:04:10 +0500
parents 1407:85ec12aec35f
children 1409:e34cbd9baf8b
files core/stanza_router.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;