mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Advertise MAM (XEP-0313) v0.4 support in room disco
This commit is contained in:
parent
b5ac0db895
commit
87273619a6
@ -760,7 +760,9 @@ iq_disco_info(ServerHost, Lang) ->
|
||||
case gen_mod:is_loaded(ServerHost, mod_mam) of
|
||||
true ->
|
||||
[#xmlel{name = <<"feature">>,
|
||||
attrs = [{<<"var">>, ?NS_MAM_0}]}];
|
||||
attrs = [{<<"var">>, ?NS_MAM_0}]},
|
||||
#xmlel{name = <<"feature">>,
|
||||
attrs = [{<<"var">>, ?NS_MAM_1}]}];
|
||||
false ->
|
||||
[]
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user