prevent a traceback. Fixes #4236
This commit is contained in:
parent
ef4eb3e291
commit
f63dcff5d3
|
@ -1494,6 +1494,8 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
|
||||||
raise common.xmpp.NodeProcessed
|
raise common.xmpp.NodeProcessed
|
||||||
|
|
||||||
def _LastCB(self, con, iq_obj):
|
def _LastCB(self, con, iq_obj):
|
||||||
|
if not self.connection:
|
||||||
|
return
|
||||||
gajim.log.debug('LastCB')
|
gajim.log.debug('LastCB')
|
||||||
iq_obj = iq_obj.buildReply('result')
|
iq_obj = iq_obj.buildReply('result')
|
||||||
qp = iq_obj.getTag('query')
|
qp = iq_obj.getTag('query')
|
||||||
|
|
Loading…
Reference in New Issue