Commit 31f5a11b authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

fix typo. Raise correct exception. Fixes #8044

parent 2514669d
......@@ -253,7 +253,7 @@ def __on_transport_info(self, stanza, content, error, action):
candUsed = content.getTag('transport').getTag('candidate-used')
if (candError or candUsed) and \
self.state >= STATE_CAND_SENT_AND_RECEIVED:
raise nbxmpp.OutOfOrder
raise nbxmpp.NodeProcessed
if candError:
if not gajim.socks5queue.listener.connections:
gajim.socks5queue.listener.disconnect()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment