mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
Fix create_room_with_opts when using SQL storage (#3700)
This commit is contained in:
parent
4d384b6bf5
commit
54c23a65db
@ -710,7 +710,7 @@ create_room_with_opts(Name1, Host1, ServerHost1, CustomRoomOpts) ->
|
|||||||
maybe_store_room(ServerHost, Host, Name, RoomOpts) ->
|
maybe_store_room(ServerHost, Host, Name, RoomOpts) ->
|
||||||
case proplists:get_bool(persistent, RoomOpts) of
|
case proplists:get_bool(persistent, RoomOpts) of
|
||||||
true ->
|
true ->
|
||||||
{atomic, ok} = mod_muc:store_room(ServerHost, Host, Name, RoomOpts),
|
{atomic, _} = mod_muc:store_room(ServerHost, Host, Name, RoomOpts),
|
||||||
ok;
|
ok;
|
||||||
false ->
|
false ->
|
||||||
ok
|
ok
|
||||||
|
Loading…
Reference in New Issue
Block a user