Remove incorrect assert
When a ping reply is received there is probably a connection. Anyway, the last ping might have been lost and the ids might not match up.
This commit is contained in:
parent
9e771add7e
commit
b8fe0e20c3
|
@ -1523,8 +1523,6 @@ class Connection(CommonConnection, ConnectionHandlers):
|
|||
self.connection.send(' ')
|
||||
|
||||
def _on_xmpp_ping_answer(self, iq_obj):
|
||||
id_ = iq_obj.getAttr('id')
|
||||
assert id_ == self.awaiting_xmpp_ping_id
|
||||
self.awaiting_xmpp_ping_id = None
|
||||
|
||||
def sendPing(self, pingTo=None, control=None):
|
||||
|
|
Loading…
Reference in New Issue