# HG changeset patch # User Kim Alvefur # Date 1528291576 -7200 # Node ID 4dee8c439afc1aaead310480a86ce916dbc79992 # Parent 7c3e16fdaf1d87965d4fa9a863032216956161f7 MUC: Expose method for creating a bare room object diff -r 7c3e16fdaf1d -r 4dee8c439afc plugins/muc/mod_muc.lua --- a/plugins/muc/mod_muc.lua Wed Jun 06 13:33:37 2018 +0200 +++ b/plugins/muc/mod_muc.lua Wed Jun 06 15:26:16 2018 +0200 @@ -22,6 +22,7 @@ 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