Comparison

plugins/mod_roster.lua @ 193:13ac34255c37

mod_roster fix
author Waqas Hussain <waqas20@gmail.com>
date Sun, 02 Nov 2008 02:23:52 +0500
parent 177:606c433955e7
child 299:300b5a201ad3
comparison
equal deleted inserted replaced
192:71c389c6fc2e 193:13ac34255c37
24 name = session.roster[jid].name, 24 name = session.roster[jid].name,
25 }); 25 });
26 for group in pairs(session.roster[jid].groups) do 26 for group in pairs(session.roster[jid].groups) do
27 roster:tag("group"):text(group):up(); 27 roster:tag("group"):text(group):up();
28 end 28 end
29 roster:up(); -- move out from item
29 end 30 end
30 end 31 end
31 send(session, roster); 32 send(session, roster);
32 session.interested = true; -- resource is interested in roster updates 33 session.interested = true; -- resource is interested in roster updates
33 return true; 34 return true;