mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +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) ->
|
||||
case proplists:get_bool(persistent, RoomOpts) of
|
||||
true ->
|
||||
{atomic, ok} = mod_muc:store_room(ServerHost, Host, Name, RoomOpts),
|
||||
{atomic, _} = mod_muc:store_room(ServerHost, Host, Name, RoomOpts),
|
||||
ok;
|
||||
false ->
|
||||
ok
|
||||
|
Loading…
Reference in New Issue
Block a user