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:
parent
786bd4f26c
commit
f6e960d326
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user