Comparison

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
comparison
equal deleted inserted replaced
8864:cf2f66b233d1 8865:2a8bbfcb6868
56 room_mt.set_members_only = members_only.set; 56 room_mt.set_members_only = members_only.set;
57 57
58 local moderated = module:require "muc/moderated"; 58 local moderated = module:require "muc/moderated";
59 room_mt.get_moderated = moderated.get; 59 room_mt.get_moderated = moderated.get;
60 room_mt.set_moderated = moderated.set; 60 room_mt.set_moderated = moderated.set;
61
62 local request = module:require "muc/request";
63 room_mt.handle_role_request = request.handle_request;
61 64
62 local persistent = module:require "muc/persistent"; 65 local persistent = module:require "muc/persistent";
63 room_mt.get_persistent = persistent.get; 66 room_mt.get_persistent = persistent.get;
64 room_mt.set_persistent = persistent.set; 67 room_mt.set_persistent = persistent.set;
65 68