25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01: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

@ -1,5 +1,9 @@
2005-05-09 Alexey Shchepin <alexey@sevcom.net> 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 * src/ejabberd_c2s.erl: Fixed starttls_required behaviour for
legacy connections (thanks to Brian Campbell) legacy connections (thanks to Brian Campbell)

View File

@ -249,6 +249,15 @@ normal_state({route, From, "",
IJID, IJID,
member, member,
StateData), 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, NSD};
_ -> _ ->
{next_state, normal_state, {next_state, normal_state,