Commit 71c3d139 authored by Yann Leboulanger's avatar Yann Leboulanger

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

parent b7ec9162
......@@ -490,6 +490,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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment