From d51102112d44ca817f28f8b7fbf01b87e6b7d2a8 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 16 Jul 2009 17:23:05 +0200 Subject: [PATCH] fix sending message to zeroconf from XML console. Fixes #5050 --- src/common/zeroconf/connection_zeroconf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/zeroconf/connection_zeroconf.py b/src/common/zeroconf/connection_zeroconf.py index 41fc8be9b..e832378bc 100644 --- a/src/common/zeroconf/connection_zeroconf.py +++ b/src/common/zeroconf/connection_zeroconf.py @@ -495,6 +495,8 @@ class ConnectionZeroconf(ConnectionHandlersZeroconf): # send a stanza untouched if not self.connection: return + if not isinstance(stanza, common.xmpp.Node): + stanza = common.xmpp.Protocol(node=stanza) self.connection.send(stanza) def ack_subscribed(self, jid):