Fix compilation error

This commit is contained in:
Evgeniy Khramtsov 2016-07-10 08:45:24 +03:00
parent 786bd4f26c
commit f6e960d326
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ get_room_config(X, RoomState, _From, Lang) ->
children = [{xmlcdata, Val}]}]},
X ++ [XField].
set_room_option(_Acc, <<"muc#roomconfig_mam">>, Vals, Lang) ->
set_room_option(_Acc, <<"muc#roomconfig_mam">> = Opt, Vals, Lang) ->
try
Val = case Vals of
[<<"0">>|_] -> false;