changeset 2117e286bb97 in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=2117e286bb97 description: fix sending message to zeroconf from XML console. Fixes #5050
diffstat:
src/common/zeroconf/connection_zeroconf.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 3e42c82db23d -r 2117e286bb97 src/common/zeroconf/connection_zeroconf.py --- a/src/common/zeroconf/connection_zeroconf.py Thu Jul 16 15:29:07 2009 +0200 +++ b/src/common/zeroconf/connection_zeroconf.py Thu Jul 16 17:23:05 2009 +0200 @@ -490,6 +490,8 @@ # 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):