diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-07-06 15:33:46 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-07-06 15:33:46 +0100 |
commit | 6e323b0ff24141fd6b28ba78fec2995fe1411272 (patch) | |
tree | 89590cb4d1ed9ba41260e390d13e0cff6e777b13 /plugins/muc/mod_muc.lua | |
parent | 6171df1e1c3d9b85dc5662e9fb2fc580a96c7320 (diff) | |
download | prosody-6e323b0ff24141fd6b28ba78fec2995fe1411272.tar.gz prosody-6e323b0ff24141fd6b28ba78fec2995fe1411272.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.lua | 2 |
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; |