aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-06-06 15:26:16 +0200
committerKim Alvefur <zash@zash.se>2018-06-06 15:26:16 +0200
commitca514bcbf6c9784279f8f6f4ae616fa7b309cb83 (patch)
tree7322fd3da09ff626d74ee17c6796fe7fc3e5dd5e /plugins
parent037968b57bd77c3c0f58a28792dfc0640c15a071 (diff)
downloadprosody-ca514bcbf6c9784279f8f6f4ae616fa7b309cb83.tar.gz
prosody-ca514bcbf6c9784279f8f6f4ae616fa7b309cb83.zip
MUC: Expose method for creating a bare room object
Diffstat (limited to 'plugins')
-rw-r--r--plugins/muc/mod_muc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua
index f8963b38..1c52078b 100644
--- a/plugins/muc/mod_muc.lua
+++ b/plugins/muc/mod_muc.lua
@@ -22,6 +22,7 @@ end
local muclib = module:require "muc";
room_mt = muclib.room_mt; -- Yes, global.
+new_room = muclib.new_room;
local affiliation_notify = module:require "muc/affiliation_notify"; -- luacheck: ignore 211