equal
deleted
inserted
replaced
83 name = "{http://prosody.im/protocol/muc}roomconfig_allowmemberinvites"; |
83 name = "{http://prosody.im/protocol/muc}roomconfig_allowmemberinvites"; |
84 type = "boolean"; |
84 type = "boolean"; |
85 label = "Allow members to invite new members"; |
85 label = "Allow members to invite new members"; |
86 value = get_allow_member_invites(event.room); |
86 value = get_allow_member_invites(event.room); |
87 }); |
87 }); |
88 end, 100-6); |
88 end, 90-3); |
89 |
89 |
90 module:hook("muc-config-submitted/muc#roomconfig_membersonly", function(event) |
90 module:hook("muc-config-submitted/muc#roomconfig_membersonly", function(event) |
91 if set_members_only(event.room, event.value) then |
91 if set_members_only(event.room, event.value) then |
92 event.status_codes["104"] = true; |
92 event.status_codes["104"] = true; |
93 end |
93 end |