handle errors in IBB

This commit is contained in:
Jefry Lagrange 2012-01-07 20:49:07 -05:00
parent 5017c7e17c
commit 76bc866a98
1 changed files with 1 additions and 1 deletions

View File

@ -782,7 +782,7 @@ class ConnectionIBBytestream(ConnectionBytestream):
elif typ == 'result': elif typ == 'result':
self.SendHandler() self.SendHandler()
elif typ == 'error': elif typ == 'error':
self.StreamOpenReplyHandler(conn, stanza) gajim.socks5queue.error_cb()
else: else:
conn.send(xmpp.Error(stanza, xmpp.ERR_BAD_REQUEST)) conn.send(xmpp.Error(stanza, xmpp.ERR_BAD_REQUEST))
raise xmpp.NodeProcessed raise xmpp.NodeProcessed