25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

Advertise MUC/Sub support in MUC service disco#info

This commit is contained in:
Evgeniy Khramtsov 2016-07-07 13:32:30 +03:00
parent 32de9a56a5
commit caaf02eaa0

View File

@ -600,6 +600,8 @@ iq_disco_info(ServerHost, Lang) ->
attrs = [{<<"var">>, ?NS_REGISTER}], children = []}, attrs = [{<<"var">>, ?NS_REGISTER}], children = []},
#xmlel{name = <<"feature">>, #xmlel{name = <<"feature">>,
attrs = [{<<"var">>, ?NS_RSM}], children = []}, attrs = [{<<"var">>, ?NS_RSM}], children = []},
#xmlel{name = <<"feature">>,
attrs = [{<<"var">>, ?NS_MUCSUB}], children = []},
#xmlel{name = <<"feature">>, #xmlel{name = <<"feature">>,
attrs = [{<<"var">>, ?NS_VCARD}], children = []}] ++ attrs = [{<<"var">>, ?NS_VCARD}], children = []}] ++
case gen_mod:is_loaded(ServerHost, mod_mam) of case gen_mod:is_loaded(ServerHost, mod_mam) of