order contacts list by status
This commit is contained in:
parent
ca7d37e3cb
commit
9d4f02840b
2 changed files with 10 additions and 4 deletions
|
|
@ -34,8 +34,8 @@ class ProfileNode(object):
|
|||
|
||||
class Contact(object):
|
||||
STATUS_ONLINE = 0x001
|
||||
STATUS_OFFLINE = 0x002
|
||||
STATUS_AWAY = 0x004
|
||||
STATUS_AWAY = 0x002
|
||||
STATUS_OFFLINE = 0x004
|
||||
STATUS_ALL = 0xfff
|
||||
|
||||
def __init__(self, id, name, status):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue