]> granicus.if.org Git - ejabberd/commitdiff
* src/mod_caps.erl: Don't include the Node attribute from C
authorBadlop <badlop@process-one.net>
Thu, 20 Dec 2007 20:02:04 +0000 (20:02 +0000)
committerBadlop <badlop@process-one.net>
Thu, 20 Dec 2007 20:02:04 +0000 (20:02 +0000)
element in the disco#info query

SVN Revision: 1087

ChangeLog
src/mod_caps.erl

index 6732f100344d271709264390cd7804e4fadb3994..ff583d49eaeb867ea0e9ac7a3f7fbaad9e1e8b9f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-12-20  Badlop  <badlop@process-one.net>
+
+       * src/mod_caps.erl: Don't include the Node attribute from C
+       element in the disco#info query
+
 2007-12-20  Christophe Romain <christophe.romain@process-one.net>
 
        * doc/guide.tex: Explain how to launch installer and improve
index cb6bc63d77f94522e181b35bacda49207baf9286..a5ae8bbbcd1689ac6b93da299dd91db50a768dd6 100644 (file)
@@ -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),