changeset 2360:fef9f1a7d2aa default tip

Fix disco issue reported by Sam Whited IQ namespace is incorrect when responding to a disco#items request on the commands node.
author Mikael Berthe <mikael@lilotux.net>
date Sat, 28 Aug 2021 23:02:24 +0200
parents f35b17fd1e73
children
files mcabber/mcabber/xmpp_iq.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/mcabber/xmpp_iq.c	Sat Aug 28 22:53:44 2021 +0200
+++ b/mcabber/mcabber/xmpp_iq.c	Sat Aug 28 23:02:24 2021 +0200
@@ -173,7 +173,7 @@
 
   iq = lm_message_new_iq_from_query(m, LM_MESSAGE_SUB_TYPE_RESULT);
   query = lm_message_node_add_child(iq->node, "query", NULL);
-  lm_message_node_set_attribute(query, "xmlns", NS_COMMANDS);
+  lm_message_node_set_attribute(query, "xmlns", NS_DISCO_ITEMS);
   node = lm_message_node_get_attribute
           (lm_message_node_get_child(m->node, "query"),
            "node");