aboutsummaryrefslogtreecommitdiffstats
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
commitedc0a8a4eaf7ee368e74b9fd32167489f3df8963 (patch)
tree7322fd3da09ff626d74ee17c6796fe7fc3e5dd5e
parent0b07ca35f62ef63028673116177d98736a59b58d (diff)
downloadprosody-edc0a8a4eaf7ee368e74b9fd32167489f3df8963.tar.gz
prosody-edc0a8a4eaf7ee368e74b9fd32167489f3df8963.zip
MUC: Expose method for creating a bare room object
-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