diff --git a/toxygen/calls.py b/toxygen/calls.py index 16cef47..2b700d7 100644 --- a/toxygen/calls.py +++ b/toxygen/calls.py @@ -141,4 +141,3 @@ class AV: if state & TOXAV_FRIEND_CALL_STATE['ACCEPTING_A']: self._calls[friend_number] |= 1 - diff --git a/toxygen/profile.py b/toxygen/profile.py index 3f48cc9..eda76bf 100644 --- a/toxygen/profile.py +++ b/toxygen/profile.py @@ -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): diff --git a/toxygen/widgets.py b/toxygen/widgets.py index f83e02c..ff441ed 100644 --- a/toxygen/widgets.py +++ b/toxygen/widgets.py @@ -137,4 +137,3 @@ class MultilineEdit(CenteredWidget): def button_click(self): self.save(self.edit.toPlainText()) self.close() -