reconnection bug fixed
This commit is contained in:
parent
4f77e2c105
commit
ac07cb529f
3 changed files with 1 additions and 2 deletions
|
@ -141,4 +141,3 @@ class AV:
|
|||
|
||||
if state & TOXAV_FRIEND_CALL_STATE['ACCEPTING_A']:
|
||||
self._calls[friend_number] |= 1
|
||||
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -137,4 +137,3 @@ class MultilineEdit(CenteredWidget):
|
|||
def button_click(self):
|
||||
self.save(self.edit.toPlainText())
|
||||
self.close()
|
||||
|
||||
|
|
Loading…
Reference in a new issue