diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/mod_muc/mod_muc_room.erl | 9 |
2 files changed, 13 insertions, 0 deletions
@@ -1,5 +1,9 @@ 2005-05-09 Alexey Shchepin <alexey@sevcom.net> + * 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 49fbe9d3..b1a5d401 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, |