Skip to content

Commit

Permalink
reconnection bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
IngvarX committed Apr 22, 2017
1 parent 4f77e2c commit ac07cb5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion toxygen/calls.py
Expand Up @@ -141,4 +141,3 @@ def toxav_call_state_cb(self, friend_number, state):

if state & TOXAV_FRIEND_CALL_STATE['ACCEPTING_A']:
self._calls[friend_number] |= 1

1 change: 1 addition & 0 deletions toxygen/profile.py
Expand Up @@ -88,6 +88,7 @@ def set_status(self, status):
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):
Expand Down
1 change: 0 additions & 1 deletion toxygen/widgets.py
Expand Up @@ -137,4 +137,3 @@ def __init__(self, title, text, save):
def button_click(self):
self.save(self.edit.toPlainText())
self.close()

0 comments on commit ac07cb5

Please sign in to comment.