Fix disco issue reported by Sam Whited
IQ namespace is incorrect when responding to a disco#items request
on the commands node.
--- 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");