25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-28 16:34:13 +01:00

Fix compilation error

This commit is contained in:
Evgeniy Khramtsov 2016-07-10 08:45:24 +03:00
parent 786bd4f26c
commit f6e960d326

View File

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