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
commitcd7079f81bfe413fbb1ac76562c9b5505441e5e3 (patch)
treebf4368a339f447828d4098dee5084b1d1ded332e /plugins/muc/mod_muc.lua
parent09a057ed5e68f60ee4dd5c5702a0b3190beba6cb (diff)
downloadprosody-cd7079f81bfe413fbb1ac76562c9b5505441e5e3.tar.gz
prosody-cd7079f81bfe413fbb1ac76562c9b5505441e5e3.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;