Software /
code /
prosody
Diff
plugins/muc/mod_muc.lua @ 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 |
parent | 8877:9182398c64b9 |
child | 8925:d367aeb9c50f |
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