From edc0a8a4eaf7ee368e74b9fd32167489f3df8963 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 6 Jun 2018 15:26:16 +0200 Subject: MUC: Expose method for creating a bare room object --- plugins/muc/mod_muc.lua | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3