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:
parent
f448ff608a
commit
0183b2487e
@ -4152,7 +4152,7 @@ process_iq_disco_info(_From, get, Lang, StateData) ->
|
|||||||
++ case {gen_mod:is_loaded(StateData#state.server_host, mod_mam),
|
++ case {gen_mod:is_loaded(StateData#state.server_host, mod_mam),
|
||||||
Config#config.mam} of
|
Config#config.mam} of
|
||||||
{true, true} ->
|
{true, true} ->
|
||||||
[?FEATURE(?NS_MAM_0)];
|
[?FEATURE(?NS_MAM_0), ?FEATURE(?NS_MAM_1)];
|
||||||
_ ->
|
_ ->
|
||||||
[]
|
[]
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user