From: Badlop Date: Thu, 20 Dec 2007 20:02:04 +0000 (+0000) Subject: * src/mod_caps.erl: Don't include the Node attribute from C X-Git-Tag: v2.0.0~83 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36f9af523c5d22a026a73b68071148f6572ba753;p=ejabberd * src/mod_caps.erl: Don't include the Node attribute from C element in the disco#info query SVN Revision: 1087 --- diff --git a/ChangeLog b/ChangeLog index 6732f1003..ff583d49e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-12-20 Badlop + + * src/mod_caps.erl: Don't include the Node attribute from C + element in the disco#info query + 2007-12-20 Christophe Romain * doc/guide.tex: Explain how to launch installer and improve diff --git a/src/mod_caps.erl b/src/mod_caps.erl index cb6bc63d7..a5ae8bbbc 100644 --- a/src/mod_caps.erl +++ b/src/mod_caps.erl @@ -186,8 +186,7 @@ handle_cast({note_caps, From, [{"type", "get"}, {"id", ID}], [{xmlelement, "query", - [{"xmlns", ?NS_DISCO_INFO}, - {"node", Node ++ "#" ++ SubNode}], + [{"xmlns", ?NS_DISCO_INFO}], []}]}, ejabberd_local:register_iq_response_handler (Host, ID, ?MODULE, handle_disco_response),