aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/mod_muc.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2020-11-24 10:38:56 +0000
committerMatthew Wild <mwild1@gmail.com>2020-11-24 10:38:56 +0000
commitad6ec279d844f7e71acee5d1851d5b3c33fd29f8 (patch)
treebf4368a339f447828d4098dee5084b1d1ded332e /plugins/muc/mod_muc.lua
parentb7a02665ea935f407fed86b54c5b429b7cbb02fb (diff)
downloadprosody-ad6ec279d844f7e71acee5d1851d5b3c33fd29f8.tar.gz
prosody-ad6ec279d844f7e71acee5d1851d5b3c33fd29f8.zip
MUC: Merge mod_muc_occupant_id into a sub-module (thanks pep.!)
Diffstat (limited to 'plugins/muc/mod_muc.lua')
-rw-r--r--plugins/muc/mod_muc.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua
index e9fd1521..bc44815e 100644
--- a/plugins/muc/mod_muc.lua
+++ b/plugins/muc/mod_muc.lua
@@ -91,6 +91,8 @@ room_mt.get_presence_broadcast = presence_broadcast.get;
room_mt.set_presence_broadcast = presence_broadcast.set;
room_mt.get_valid_broadcast_roles = presence_broadcast.get_valid_broadcast_roles;
+local occupant_id = module:require "muc/occupant_id";
+room_mt.get_occupant_id = occupant_id.get_occupant_id;
local jid_split = require "util.jid".split;
local jid_prep = require "util.jid".prep;