core/rostermanager.lua

changeset 114
bed2a8508cf5
parent 110
bb5ac5976a97
child 132
9a4aa57af367
equal deleted inserted replaced
113:9026fdad1531 114:bed2a8508cf5
74 end 74 end
75 stanza:up(); 75 stanza:up();
76 stanza:up(); 76 stanza:up();
77 -- stanza ready 77 -- stanza ready
78 for _, session in pairs(hosts[host].sessions[username].sessions) do 78 for _, session in pairs(hosts[host].sessions[username].sessions) do
79 if session.full_jid then 79 if session.interested then
80 -- FIXME do we need to set stanza.attr.to? 80 -- FIXME do we need to set stanza.attr.to?
81 session.send(stanza); 81 session.send(stanza);
82 end 82 end
83 end 83 end
84 end 84 end

mercurial