25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Merge pull request #1051 from genric/patch-1

Fix mod_muc_admin:set_room_affiliation options persistence
This commit is contained in:
badlop 2016-04-06 13:44:12 +02:00
commit d9f1061b8a

View File

@ -885,12 +885,19 @@ make_opts(StateData) ->
Config = StateData#state.config,
[
{title, Config#config.title},
{vcard, Config#config.vcard},
{voice_request_min_interval, Config#config.voice_request_min_interval},
{allow_change_subj, Config#config.allow_change_subj},
{allow_query_users, Config#config.allow_query_users},
{allow_private_messages, Config#config.allow_private_messages},
{allow_private_messages_from_visitors, Config#config.allow_private_messages_from_visitors},
{allow_visitor_status, Config#config.allow_visitor_status},
{allow_visitor_nickchange, Config#config.allow_visitor_nickchange},
{allow_voice_requests, Config#config.allow_voice_requests},
{public, Config#config.public},
{public_list, Config#config.public_list},
{persistent, Config#config.persistent},
{mam, Config#config.mam},
{moderated, Config#config.moderated},
{members_by_default, Config#config.members_by_default},
{members_only, Config#config.members_only},
@ -898,6 +905,8 @@ make_opts(StateData) ->
{password_protected, Config#config.password_protected},
{password, Config#config.password},
{anonymous, Config#config.anonymous},
{captcha_protected, Config#config.captcha_protected},
{description, Config#config.description},
{logging, Config#config.logging},
{max_users, Config#config.max_users},
{affiliations, ?DICT:to_list(StateData#state.affiliations)},