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:
Apromixately 2017-12-16 12:30:00 +01:00
parent 9e771add7e
commit b8fe0e20c3
1 changed files with 0 additions and 2 deletions

View File

@ -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):