plugins/disco.lua

changeset 250
a5ac643a7fd6
parent 212
cd2e5eef7a7a
child 266
ad8a918fa6e6
equal deleted inserted replaced
249:00891a675634 250:a5ac643a7fd6
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";

mercurial