43 :tag("query", { xmlns = xmlns_private }) |
43 :tag("query", { xmlns = xmlns_private }) |
44 :tag(node[1], { xmlns = node[2] }) |
44 :tag(node[1], { xmlns = node[2] }) |
45 , function(stanza) |
45 , function(stanza) |
46 conn:debug("got private %s*%s", node[2], node[1]); |
46 conn:debug("got private %s*%s", node[2], node[1]); |
47 local query = stanza:get_child("query", xmlns_private); |
47 local query = stanza:get_child("query", xmlns_private); |
48 if query then |
48 if query and #query > 0 then |
49 export:add_child(query); |
49 export:add_child(query); |
50 end |
50 end |
51 out = out - 1; |
51 out = out - 1; |
52 end); |
52 end); |
53 end |
53 end |