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:
parent
7cb79cd482
commit
a4507b8b6f
2 changed files with 13 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue