fix sending message to zeroconf from XML console. Fixes #5050

This commit is contained in:
Yann Leboulanger 2009-07-16 17:23:05 +02:00
parent ba697a583f
commit d51102112d
1 changed files with 2 additions and 0 deletions

View File

@ -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):