plugins/disco.lua

changeset 120
47449a29d8ed
parent 119
989cb40f8e62
child 121
9b31ac5a37ea
equal deleted inserted replaced
119:989cb40f8e62 120:47449a29d8ed
224 for tag in result:get_child("query", xmlns_disco_items):childtags() do 224 for tag in result:get_child("query", xmlns_disco_items):childtags() do
225 if tag.name == "item" then 225 if tag.name == "item" then
226 table.insert(disco_items, { 226 table.insert(disco_items, {
227 name = tag.attr.name; 227 name = tag.attr.name;
228 jid = tag.attr.jid; 228 jid = tag.attr.jid;
229 node = tag.attr.node;
229 }); 230 });
230 end 231 end
231 end 232 end
232 233
233 if not self.disco.cache[jid] then 234 if not self.disco.cache[jid] then

mercurial