diff --git a/src/mod_muc_room.erl b/src/mod_muc_room.erl index 96d4c6548..58974633d 100644 --- a/src/mod_muc_room.erl +++ b/src/mod_muc_room.erl @@ -4152,7 +4152,7 @@ process_iq_disco_info(_From, get, Lang, StateData) -> ++ case {gen_mod:is_loaded(StateData#state.server_host, mod_mam), Config#config.mam} of {true, true} -> - [?FEATURE(?NS_MAM_0)]; + [?FEATURE(?NS_MAM_0), ?FEATURE(?NS_MAM_1)]; _ -> [] end