Merge remote-tracking branch 'upstream/master' into lets_encrypt_acme_support
This commit is contained in:
commit
a59ccc6c9c
|
@ -536,7 +536,8 @@ prepare_room_info(Room_info) ->
|
|||
%% ok | error
|
||||
%% @doc Create a room immediately with the default options.
|
||||
create_room(Name1, Host1, ServerHost) ->
|
||||
create_room_with_opts(Name1, Host1, ServerHost, []).
|
||||
create_room_with_opts(Name1, Host1, ServerHost, []),
|
||||
change_room_option(Name1, Host1, <<"persistent">>, <<"true">>).
|
||||
|
||||
create_room_with_opts(Name1, Host1, ServerHost, CustomRoomOpts) ->
|
||||
true = (error /= (Name = jid:nodeprep(Name1))),
|
||||
|
|
|
@ -492,7 +492,7 @@ handle_event({destroy, Reason}, _StateName,
|
|||
handle_event(destroy, StateName, StateData) ->
|
||||
?INFO_MSG("Destroyed MUC room ~s",
|
||||
[jid:encode(StateData#state.jid)]),
|
||||
handle_event({destroy, undefined}, StateName, StateData);
|
||||
handle_event({destroy, <<"">>}, StateName, StateData);
|
||||
handle_event({set_affiliations, Affiliations},
|
||||
StateName, StateData) ->
|
||||
{next_state, StateName,
|
||||
|
|
Loading…
Reference in New Issue