bug with status fixed
This commit is contained in:
parent
5cfa484a67
commit
82184b3df1
@ -74,8 +74,8 @@ class Profile(contact.Contact, Singleton):
|
|||||||
self.set_status((self._status + 1) % 3)
|
self.set_status((self._status + 1) % 3)
|
||||||
|
|
||||||
def set_status(self, status):
|
def set_status(self, status):
|
||||||
if self._status is not None:
|
super(Profile, self).set_status(status)
|
||||||
super(Profile, self).set_status(status)
|
if status is not None:
|
||||||
self._tox.self_set_status(status)
|
self._tox.self_set_status(status)
|
||||||
|
|
||||||
def set_name(self, value):
|
def set_name(self, value):
|
||||||
|
Loading…
Reference in New Issue
Block a user