Software /
code /
prosody
Diff
plugins/muc/mod_muc.lua @ 8865:2a8bbfcb6868
MUC: Move voice request into its own lib
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 02 Jun 2018 20:15:32 +0200 |
parent | 8843:041ddc670934 |
child | 8867:c601c834bf01 |
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua Sat Jun 02 19:57:46 2018 +0200 +++ b/plugins/muc/mod_muc.lua Sat Jun 02 20:15:32 2018 +0200 @@ -59,6 +59,9 @@ 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;