Skip to content
Snippets Groups Projects
Commit 409a1c31 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

prevent a traceback. fixes #4169

parent b9fc3556
No related branches found
No related tags found
No related merge requests found
......@@ -1474,6 +1474,8 @@ def _rosterSetCB(self, con, iq_obj):
raise common.xmpp.NodeProcessed
def _VersionCB(self, con, iq_obj):
if not self.connection:
return
gajim.log.debug('VersionCB')
iq_obj = iq_obj.buildReply('result')
qp = iq_obj.getTag('query')
......@@ -2448,4 +2450,4 @@ def _register_handlers(self, con, con_type):
con.RegisterHandler('message', self._StanzaArrivedCB)
con.RegisterHandler('unknown', self._StreamCB, 'urn:ietf:params:xml:ns:xmpp-streams', xmlns='http://etherx.jabber.org/streams')
# vim: se ts=3:
\ No newline at end of file
# vim: se ts=3:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment