mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
fixes disco#info
SVN Revision: 2482
This commit is contained in:
parent
7fb6a4696a
commit
2999a11f4b
@ -126,7 +126,7 @@ process_iq(_, #iq{type = get, xmlns = ?NS_DISCO_INFO, lang = Lang} = IQ,
|
|||||||
disco_info, ServerHost, [], [ServerHost, ?MODULE, "", ""]),
|
disco_info, ServerHost, [], [ServerHost, ?MODULE, "", ""]),
|
||||||
IQ#iq{type = result, sub_el =
|
IQ#iq{type = result, sub_el =
|
||||||
[{xmlelement, "query", [{"xmlns", ?NS_DISCO_INFO}],
|
[{xmlelement, "query", [{"xmlns", ?NS_DISCO_INFO}],
|
||||||
iq_disco_info(Name, Lang) ++ Info}]};
|
iq_disco_info(Lang, Name) ++ Info}]};
|
||||||
|
|
||||||
%% disco#items request
|
%% disco#items request
|
||||||
process_iq(_, #iq{type = get, xmlns = ?NS_DISCO_ITEMS} = IQ, _) ->
|
process_iq(_, #iq{type = get, xmlns = ?NS_DISCO_ITEMS} = IQ, _) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user