Changeset

8879:4dee8c439afc

MUC: Expose method for creating a bare room object
author Kim Alvefur <zash@zash.se>
date Wed, 06 Jun 2018 15:26:16 +0200
parents 8878:7c3e16fdaf1d
children 8882:a420b386a72a
files plugins/muc/mod_muc.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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