equal
deleted
inserted
replaced
36 return xml.parse([[<html xmlns='http://jabber.org/protocol/xhtml-im'>]]..s..[[</html>]]); |
36 return xml.parse([[<html xmlns='http://jabber.org/protocol/xhtml-im'>]]..s..[[</html>]]); |
37 end |
37 end |
38 end; |
38 end; |
39 }; |
39 }; |
40 |
40 |
41 -- XEP-0199 |
41 -- XEP-0199: XMPP Ping |
42 ping = {"bool_tag", "urn:xmpp:ping", "ping"}, |
42 ping = {"bool_tag", "urn:xmpp:ping", "ping"}, |
43 |
43 |
44 -- XEP-0092: Software Version |
44 -- XEP-0092: Software Version |
45 version = {"func", "jabber:iq:version", "query", |
45 version = {"func", "jabber:iq:version", "query", |
46 function (s) |
46 function (s) |
118 end |
118 end |
119 return disco; |
119 return disco; |
120 end; |
120 end; |
121 }; |
121 }; |
122 |
122 |
|
123 -- XEP-0066: Out of Band Data |
123 oob_url = {"func", "jabber:iq:oob", "query", |
124 oob_url = {"func", "jabber:iq:oob", "query", |
124 function (s) |
125 function (s) |
125 return s:get_child_text("url"); |
126 return s:get_child_text("url"); |
126 end; |
127 end; |
127 function (s) |
128 function (s) |