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 | 586e8747b9e30311a30e684f4d6e845af3886a4b (patch) | |
tree | 719ee4568e427514f501400210b3c4795d140d79 /plugins/muc/mod_muc.lua | |
parent | a7448e43e0daa2772511d7744727f91db4962346 (diff) | |
download | prosody-586e8747b9e30311a30e684f4d6e845af3886a4b.tar.gz prosody-586e8747b9e30311a30e684f4d6e845af3886a4b.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; |