25
1
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:
Paweł Chmielowski 2017-10-31 16:12:35 +01:00
parent ce98843dd4
commit ee2b5be7f4

View File

@ -3335,8 +3335,7 @@ change_config(Config, StateData) ->
Config#config.persistent} Config#config.persistent}
of of
{_, true} -> {_, true} ->
mod_muc:store_room(NSD#state.server_host, store_room(NSD);
NSD#state.host, NSD#state.room, make_opts(NSD));
{true, false} -> {true, false} ->
mod_muc:forget_room(NSD#state.server_host, mod_muc:forget_room(NSD#state.server_host,
NSD#state.host, NSD#state.room); NSD#state.host, NSD#state.room);