25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Advertise MUC MAM v0.4.1 in room JID's disco#info

This commit is contained in:
Holger Weiss 2016-01-13 20:30:44 +01:00
parent f448ff608a
commit 0183b2487e

View File

@ -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