aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/mod_muc.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-07-06 15:33:46 +0100
committerMatthew Wild <mwild1@gmail.com>2018-07-06 15:33:46 +0100
commit49677384f67b36e3a302b86151218ee10552cdaa (patch)
tree89590cb4d1ed9ba41260e390d13e0cff6e777b13 /plugins/muc/mod_muc.lua
parent4e35f8575f31db1e39e96a4ea38679a8c42a3f35 (diff)
downloadprosody-49677384f67b36e3a302b86151218ee10552cdaa.tar.gz
prosody-49677384f67b36e3a302b86151218ee10552cdaa.zip
MUC: Add config option to allow members to invite other members to the room (previously only owners/admins could do this)
Diffstat (limited to 'plugins/muc/mod_muc.lua')
-rw-r--r--plugins/muc/mod_muc.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua
index c3975282..d2a5f8de 100644
--- a/plugins/muc/mod_muc.lua
+++ b/plugins/muc/mod_muc.lua
@@ -53,6 +53,8 @@ room_mt.set_password = password.set;
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;