Diff

core/rostermanager.lua @ 193:13ac34255c37

mod_roster fix
author Waqas Hussain <waqas20@gmail.com>
date Sun, 02 Nov 2008 02:23:52 +0500
parent 183:403db3b5c3c2
child 263:75275b6b4e03
child 267:6303b7454ad0
line wrap: on
line diff
--- a/core/rostermanager.lua	Sat Nov 01 21:10:19 2008 +0000
+++ b/core/rostermanager.lua	Sun Nov 02 02:23:52 2008 +0500
@@ -59,8 +59,8 @@
 		else
 			stanza:tag("item", {jid = jid, subscription = "remove"});
 		end
-		stanza:up();
-		stanza:up();
+		stanza:up(); -- move out from item
+		stanza:up(); -- move out from stanza
 		-- stanza ready
 		for _, session in pairs(hosts[host].sessions[username].sessions) do
 			if session.interested then