diff --git a/ChangeLog b/ChangeLog index 137c36d60..73072dc7a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2005-05-09 Alexey Shchepin + * src/mod_muc/mod_muc_room.erl: Fixed bug with storing + affiliations of invited users in members-only room (thanks to + Sergei Golovan) + * src/ejabberd_c2s.erl: Fixed starttls_required behaviour for legacy connections (thanks to Brian Campbell) diff --git a/src/mod_muc/mod_muc_room.erl b/src/mod_muc/mod_muc_room.erl index 49fbe9d30..b1a5d4017 100644 --- a/src/mod_muc/mod_muc_room.erl +++ b/src/mod_muc/mod_muc_room.erl @@ -249,6 +249,15 @@ normal_state({route, From, "", IJID, member, StateData), + case (NSD#state.config)#config.persistent of + true -> + mod_muc:store_room( + NSD#state.host, + NSD#state.room, + make_opts(NSD)); + _ -> + ok + end, {next_state, normal_state, NSD}; _ -> {next_state, normal_state,