summaryrefslogtreecommitdiff
path: root/src/mod_muc
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2005-05-09 19:38:16 +0000
committerAlexey Shchepin <alexey@process-one.net>2005-05-09 19:38:16 +0000
commita4507b8b6fce52935d610b7eb7f6321cb7422a8c (patch)
tree3256d4464869b86eac5f7d9fa345a5ec5117e384 /src/mod_muc
parent* src/ejabberd_c2s.erl: Fixed starttls_required behaviour for (diff)
* src/mod_muc/mod_muc_room.erl: Fixed bug with storing
affiliations of invited users in members-only room (thanks to Sergei Golovan) SVN Revision: 346
Diffstat (limited to 'src/mod_muc')
-rw-r--r--src/mod_muc/mod_muc_room.erl9
1 files changed, 9 insertions, 0 deletions
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,