order contacts list by status

This commit is contained in:
Romain Bignon 2010-07-13 19:52:47 +02:00
commit 9d4f02840b
2 changed files with 10 additions and 4 deletions

View file

@ -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):