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':
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