Comparison

mod_muc_occupant_id/mod_muc_occupant_id.lua @ 3632:83a68f5fde1d

mod_muc_occupant_id: depend on muc.
author Maxime “pep” Buquet <pep@bouah.net>
date Mon, 29 Jul 2019 16:10:09 +0200
parent 3631:d6164ae6179c
child 3654:7b02b8de6d27
comparison
equal deleted inserted replaced
3631:d6164ae6179c 3632:83a68f5fde1d
1 1
2 -- Implementation of https://xmpp.org/extensions/inbox/occupant-id.html 2 -- Implementation of https://xmpp.org/extensions/inbox/occupant-id.html
3 -- XEP-XXXX: Anonymous unique occupant identifiers for MUCs 3 -- XEP-XXXX: Anonymous unique occupant identifiers for MUCs
4
5 module:depends("muc");
4 6
5 local uuid = require "util.uuid"; 7 local uuid = require "util.uuid";
6 local hmac_sha256 = require "util.hashes".hmac_sha256; 8 local hmac_sha256 = require "util.hashes".hmac_sha256;
7 local b64encode = require "util.encodings".base64.encode; 9 local b64encode = require "util.encodings".base64.encode;
8 10