comparison sat/plugins/plugin_xep_0198.py @ 2795:25639611c303

plugin XEP-0198: fixed typo resulting in a crash on resume
author Goffi <goffi@goffi.org>
date Sat, 26 Jan 2019 20:08:33 +0100
parents edd230651138
children fdc53c8a5439
comparison
equal deleted inserted replaced
2794:33fa70c102de 2795:25639611c303
450 450
451 def onAckTimeOut(self, client): 451 def onAckTimeOut(self, client):
452 """Called when a requested ACK has not been received in time""" 452 """Called when a requested ACK has not been received in time"""
453 log.info(_(u"Ack was not received in time, aborting connection")) 453 log.info(_(u"Ack was not received in time, aborting connection"))
454 client.xmlstream.transport.abortConnection() 454 client.xmlstream.transport.abortConnection()
455 client._xep_0198_session.req_time = None 455 client._xep_0198_session.req_timer = None
456 456
457 457
458 class XEP_0198_handler(xmlstream.XMPPHandler): 458 class XEP_0198_handler(xmlstream.XMPPHandler):
459 implements(iwokkel.IDisco) 459 implements(iwokkel.IDisco)
460 460