25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +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}]}]},
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;