fix sending message to zeroconf from XML console. Fixes #5050
This commit is contained in:
parent
ba697a583f
commit
d51102112d
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue