From 76bc866a98f79bd44a449a29c6184176e8a34d76 Mon Sep 17 00:00:00 2001 From: Jefry Lagrange Date: Sat, 7 Jan 2012 20:49:07 -0500 Subject: [PATCH] handle errors in IBB --- src/common/protocol/bytestream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/protocol/bytestream.py b/src/common/protocol/bytestream.py index d95409edd..9c83ddea1 100644 --- a/src/common/protocol/bytestream.py +++ b/src/common/protocol/bytestream.py @@ -782,7 +782,7 @@ class ConnectionIBBytestream(ConnectionBytestream): elif typ == 'result': self.SendHandler() elif typ == 'error': - self.StreamOpenReplyHandler(conn, stanza) + gajim.socks5queue.error_cb() else: conn.send(xmpp.Error(stanza, xmpp.ERR_BAD_REQUEST)) raise xmpp.NodeProcessed