Software /
code /
prosody-modules
Changeset
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 |
parents | 3631:d6164ae6179c |
children | 3633:6b0db0f2d57a |
files | mod_muc_occupant_id/mod_muc_occupant_id.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_muc_occupant_id/mod_muc_occupant_id.lua Wed Jul 17 13:23:23 2019 +0200 +++ b/mod_muc_occupant_id/mod_muc_occupant_id.lua Mon Jul 29 16:10:09 2019 +0200 @@ -2,6 +2,8 @@ -- Implementation of https://xmpp.org/extensions/inbox/occupant-id.html -- XEP-XXXX: Anonymous unique occupant identifiers for MUCs +module:depends("muc"); + local uuid = require "util.uuid"; local hmac_sha256 = require "util.hashes".hmac_sha256; local b64encode = require "util.encodings".base64.encode;