aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/mod_caps.erl3
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6732f1003..ff583d49e 100644
--- 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
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),