Diff

plugins/muc/mod_muc.lua @ 8976:92f0876b9230

MUC: Add config option to allow members to invite other members to the room (previously only owners/admins could do this)
author Matthew Wild <mwild1@gmail.com>
date Fri, 06 Jul 2018 15:33:46 +0100
parent 8944:200ec7d38a0e
child 8977:f4030a506d6b
line wrap: on
line diff
--- a/plugins/muc/mod_muc.lua	Fri Jul 06 00:19:22 2018 +0200
+++ b/plugins/muc/mod_muc.lua	Fri Jul 06 15:33:46 2018 +0100
@@ -53,6 +53,8 @@
 local members_only = module:require "muc/members_only";
 room_mt.get_members_only = members_only.get;
 room_mt.set_members_only = members_only.set;
+room_mt.get_allow_member_invites = members_only.get_allow_member_invites;
+room_mt.set_allow_member_invites = members_only.set_allow_member_invites;
 
 local moderated = module:require "muc/moderated";
 room_mt.get_moderated = moderated.get;