mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Use store_room where possible
This commit is contained in:
parent
ce98843dd4
commit
ee2b5be7f4
@ -3335,8 +3335,7 @@ change_config(Config, StateData) ->
|
||||
Config#config.persistent}
|
||||
of
|
||||
{_, true} ->
|
||||
mod_muc:store_room(NSD#state.server_host,
|
||||
NSD#state.host, NSD#state.room, make_opts(NSD));
|
||||
store_room(NSD);
|
||||
{true, false} ->
|
||||
mod_muc:forget_room(NSD#state.server_host,
|
||||
NSD#state.host, NSD#state.room);
|
||||
|
Loading…
Reference in New Issue
Block a user