Skip to content

Commit

Permalink
Fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
zinid committed Jul 10, 2016
1 parent 786bd4f commit f6e960d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mod_mam.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f6e960d

Please sign in to comment.