aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/occupant_id.lib.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/muc/occupant_id.lib.lua')
-rw-r--r--plugins/muc/occupant_id.lib.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/muc/occupant_id.lib.lua b/plugins/muc/occupant_id.lib.lua
index 1d310b3d..2252799d 100644
--- a/plugins/muc/occupant_id.lib.lua
+++ b/plugins/muc/occupant_id.lib.lua
@@ -1,12 +1,12 @@
--- Implementation of https://xmpp.org/extensions/inbox/occupant-id.html
+-- Implementation of https://xmpp.org/extensions/xep-0421.html
-- XEP-0421: Anonymous unique occupant identifiers for MUCs
-- (C) 2020 Maxime “pep” Buquet <pep@bouah.net>
-- (C) 2020 Matthew Wild <mwild1@gmail.com>
-local uuid = require "util.uuid";
-local hmac_sha256 = require "util.hashes".hmac_sha256;
-local b64encode = require "util.encodings".base64.encode;
+local uuid = require "prosody.util.uuid";
+local hmac_sha256 = require "prosody.util.hashes".hmac_sha256;
+local b64encode = require "prosody.util.encodings".base64.encode;
local xmlns_occupant_id = "urn:xmpp:occupant-id:0";