mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Fix compilation error
This commit is contained in:
parent
786bd4f26c
commit
f6e960d326
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user