1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-04 18:29:20 +02:00

* 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
This commit is contained in:
Alexey Shchepin 2005-05-09 19:38:16 +00:00
parent 7cb79cd482
commit a4507b8b6f
2 changed files with 13 additions and 0 deletions

View file

@ -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,