reconnection bug fixed

This commit is contained in:
ingvar1995 2017-04-22 22:35:32 +03:00
parent 4f77e2c105
commit ac07cb529f
3 changed files with 1 additions and 2 deletions

View file

@ -88,6 +88,7 @@ class Profile(basecontact.BaseContact, Singleton):
if status is not None:
self._tox.self_set_status(status)
elif not self._waiting_for_reconnection:
self._waiting_for_reconnection = True
QtCore.QTimer.singleShot(50000, self.reconnect)
def set_name(self, value):