core/rostermanager.lua

changeset 114
bed2a8508cf5
parent 110
bb5ac5976a97
child 132
9a4aa57af367
--- a/core/rostermanager.lua	Thu Oct 23 00:46:38 2008 +0500
+++ b/core/rostermanager.lua	Thu Oct 23 02:11:27 2008 +0500
@@ -76,7 +76,7 @@
 		stanza:up();
 		-- stanza ready
 		for _, session in pairs(hosts[host].sessions[username].sessions) do
-			if session.full_jid then
+			if session.interested then
 				-- FIXME do we need to set stanza.attr.to?
 				session.send(stanza);
 			end

mercurial