# HG changeset patch # User Waqas Hussain # Date 1225574632 -18000 # Node ID 13ac34255c3706d8c3231492f711a70e382a802a # Parent 71c389c6fc2e631734048c1637aaeee288e18495 mod_roster fix diff -r 71c389c6fc2e -r 13ac34255c37 core/rostermanager.lua --- 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 diff -r 71c389c6fc2e -r 13ac34255c37 plugins/mod_roster.lua --- a/plugins/mod_roster.lua Sat Nov 01 21:10:19 2008 +0000 +++ b/plugins/mod_roster.lua Sun Nov 02 02:23:52 2008 +0500 @@ -26,6 +26,7 @@ for group in pairs(session.roster[jid].groups) do roster:tag("group"):text(group):up(); end + roster:up(); -- move out from item end end send(session, roster);