reconnection timeout++ and fix

This commit is contained in:
ingvar1995
2016-09-15 00:21:06 +03:00
parent 42e0ec005b
commit 337601f2a1
2 changed files with 7 additions and 4 deletions

View File

@@ -838,7 +838,7 @@ class Profile(contact.Contact, Singleton):
def reconnect(self):
if self.status is None or all(list(map(lambda x: x.status is None, self._friends))):
self.reset(self._screen.reset)
QtCore.QTimer.singleShot(30000, self.reconnect)
QtCore.QTimer.singleShot(45000, self.reconnect)
def close(self):
for friend in self._friends: