4 -- |
4 -- |
5 -- This project is MIT/X11 licensed. Please see the |
5 -- This project is MIT/X11 licensed. Please see the |
6 -- COPYING file in the source package for more information. |
6 -- COPYING file in the source package for more information. |
7 -- |
7 -- |
8 |
8 |
9 local b64 = require("mime").b64 |
9 local verse = require "verse"; |
10 local sha1 = require("util.sha1").sha1 |
10 local b64 = require("mime").b64; |
|
11 local sha1 = require("util.sha1").sha1; |
11 |
12 |
12 local xmlns_caps = "http://jabber.org/protocol/caps"; |
13 local xmlns_caps = "http://jabber.org/protocol/caps"; |
13 local xmlns_disco = "http://jabber.org/protocol/disco"; |
14 local xmlns_disco = "http://jabber.org/protocol/disco"; |
14 local xmlns_disco_info = xmlns_disco.."#info"; |
15 local xmlns_disco_info = xmlns_disco.."#info"; |
15 local xmlns_disco_items = xmlns_disco.."#items"; |
16 local xmlns_disco_items = xmlns_disco.."#items"; |