From ebfa1eba40f61e33275b0213391cccb40a737f94 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 1 Oct 2007 09:40:34 +0000 Subject: [PATCH] add node attribute when we reply to the adhoc command list request --- src/common/commands.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/commands.py b/src/common/commands.py index 802095873..e5f405e52 100644 --- a/src/common/commands.py +++ b/src/common/commands.py @@ -288,6 +288,8 @@ class ConnectionCommands: iq = iq_obj.buildReply('result') jid = helpers.get_full_jid_from_iq(iq_obj) q = iq.getTag('query') + # buildReply don't copy the node attribute. Re-add it + q.setAttr('node', xmpp.NS_COMMANDS) for node, cmd in self.__commands.iteritems(): if cmd.isVisibleFor(self.isSameJID(jid)):