aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_roster.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2008-11-02 02:23:52 +0500
committerWaqas Hussain <waqas20@gmail.com>2008-11-02 02:23:52 +0500
commit3a14c1ab216ab1ff415f03571b2928e7be1240d1 (patch)
tree146c823c159463d10c7c81ff3c01b781cd576095 /plugins/mod_roster.lua
parent084b66894b817ff8b3ac0671b8f500c4bd998dd4 (diff)
downloadprosody-3a14c1ab216ab1ff415f03571b2928e7be1240d1.tar.gz
prosody-3a14c1ab216ab1ff415f03571b2928e7be1240d1.zip
mod_roster fix
Diffstat (limited to 'plugins/mod_roster.lua')
-rw-r--r--plugins/mod_roster.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_roster.lua b/plugins/mod_roster.lua
index 1ccaafd0..f5dbf742 100644
--- a/plugins/mod_roster.lua
+++ b/plugins/mod_roster.lua
@@ -26,6 +26,7 @@ add_iq_handler("c2s", "jabber:iq:roster",
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);