diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_mam.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_mam.erl b/src/mod_mam.erl index 811e1b51d..10eb098da 100644 --- a/src/mod_mam.erl +++ b/src/mod_mam.erl @@ -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; |