Fix create_room_with_opts when using SQL storage (#3700)

This commit is contained in:
Badlop 2021-10-21 12:44:51 +02:00
parent 4d384b6bf5
commit 54c23a65db
1 changed files with 1 additions and 1 deletions

View File

@ -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