diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2016-07-10 08:45:24 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2016-07-10 08:45:24 +0300 |
commit | f6e960d326fd1fe863ac812ed6ba3dfb7651763e (patch) | |
tree | 01e2fbe34c796f579c3c042c3c694337fb97a322 | |
parent | Use hooks instead of direct calls to mod_mam (diff) |
Fix compilation error
-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; |