revert 515744029d22, there is no timeout for <r> requests, so we never check if we have the result. see #7090

This commit is contained in:
Yann Leboulanger 2012-03-22 20:49:38 +01:00
parent 39af536a5e
commit 2a242bf3bd
1 changed files with 1 additions and 2 deletions

View File

@ -1616,8 +1616,7 @@ class Connection(CommonConnection, ConnectionHandlers):
if not gajim.account_is_connected(self.name): if not gajim.account_is_connected(self.name):
return return
self.connection.set_send_timeout(self.keepalives, self.send_keepalive) self.connection.set_send_timeout(self.keepalives, self.send_keepalive)
self.connection.set_send_timeout2(self.pingalives, self.connection.set_send_timeout2(self.pingalives, self.sendPing)
self.sm.enabled and self.sm.request_ack or self.sendPing)
self.connection.onreceive(None) self.connection.onreceive(None)
self.privacy_rules_requested = False self.privacy_rules_requested = False