diff options
author | Kim Alvefur <zash@zash.se> | 2018-06-02 20:15:32 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-06-02 20:15:32 +0200 |
commit | 8286e6344d13e59b090cdff204e61750dd7a5a29 (patch) | |
tree | 719ee4568e427514f501400210b3c4795d140d79 /plugins/muc/mod_muc.lua | |
parent | 7bc9f73c736d558386cfbce9d57a7dddd0b5479b (diff) | |
download | prosody-8286e6344d13e59b090cdff204e61750dd7a5a29.tar.gz prosody-8286e6344d13e59b090cdff204e61750dd7a5a29.zip |
MUC: Move voice request into its own lib
Diffstat (limited to 'plugins/muc/mod_muc.lua')
-rw-r--r-- | plugins/muc/mod_muc.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua index fd240193..adbfb64c 100644 --- a/plugins/muc/mod_muc.lua +++ b/plugins/muc/mod_muc.lua @@ -59,6 +59,9 @@ local moderated = module:require "muc/moderated"; room_mt.get_moderated = moderated.get; room_mt.set_moderated = moderated.set; +local request = module:require "muc/request"; +room_mt.handle_role_request = request.handle_request; + local persistent = module:require "muc/persistent"; room_mt.get_persistent = persistent.get; room_mt.set_persistent = persistent.set; |