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

fixes disco#info

SVN Revision: 2482
This commit is contained in:
Evgeniy Khramtsov 2009-08-15 03:14:17 +00:00
parent 7fb6a4696a
commit 2999a11f4b

View File

@ -126,7 +126,7 @@ process_iq(_, #iq{type = get, xmlns = ?NS_DISCO_INFO, lang = Lang} = IQ,
disco_info, ServerHost, [], [ServerHost, ?MODULE, "", ""]),
IQ#iq{type = result, sub_el =
[{xmlelement, "query", [{"xmlns", ?NS_DISCO_INFO}],
iq_disco_info(Name, Lang) ++ Info}]};
iq_disco_info(Lang, Name) ++ Info}]};
%% disco#items request
process_iq(_, #iq{type = get, xmlns = ?NS_DISCO_ITEMS} = IQ, _) ->