From 0183b2487e4e5cc0033eb7ad0c8a6f0165c495a5 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Wed, 13 Jan 2016 20:30:44 +0100 Subject: [PATCH] Advertise MUC MAM v0.4.1 in room JID's disco#info --- src/mod_muc_room.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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