# HG changeset patch # User Matthew Wild # Date 1530889091 -3600 # Node ID f4030a506d6bfbc5669d75e8894080c22ac39298 # Parent 92f0876b9230b267bb70211e7107f6a0d7579781 mod_muc: Add support for muc_room_default_allow_member_invites diff -r 92f0876b9230 -r f4030a506d6b plugins/muc/mod_muc.lua --- a/plugins/muc/mod_muc.lua Fri Jul 06 15:33:46 2018 +0100 +++ b/plugins/muc/mod_muc.lua Fri Jul 06 15:58:11 2018 +0100 @@ -293,6 +293,7 @@ room:set_public(module:get_option_boolean("muc_room_default_public", false)); room:set_persistent(module:get_option_boolean("muc_room_default_persistent", room:get_persistent())); room:set_members_only(module:get_option_boolean("muc_room_default_members_only", room:get_members_only())); + room:set_allow_member_invites(module:get_option_boolean("muc_room_default_allow_member_invites", room:get_allow_member_invites())); room:set_moderated(module:get_option_boolean("muc_room_default_moderated", room:get_moderated())); room:set_whois(module:get_option_boolean("muc_room_default_public_jids", room:get_whois() == "anyone") and "anyone" or "moderators"); room:set_changesubject(module:get_option_boolean("muc_room_default_change_subject", room:get_changesubject()));