summaryrefslogtreecommitdiff
path: root/src/roster.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-11-09 22:00:38 +0100
committermathieui <mathieui@mathieui.net>2011-11-09 22:00:38 +0100
commit1f5d1048344b3e68b5fb294371f269c398c8f69a (patch)
tree979d3a8e86ff193c1c8c4abc6a547b13284b4aab /src/roster.py
parente6663c317c27efba3cfeea498d9ff91695e913ec (diff)
downloadpoezio-1f5d1048344b3e68b5fb294371f269c398c8f69a.tar.gz
poezio-1f5d1048344b3e68b5fb294371f269c398c8f69a.tar.bz2
poezio-1f5d1048344b3e68b5fb294371f269c398c8f69a.tar.xz
poezio-1f5d1048344b3e68b5fb294371f269c398c8f69a.zip
-get -set +@property +@property.setter
Diffstat (limited to 'src/roster.py')
-rw-r--r--src/roster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roster.py b/src/roster.py
index df84d4d8..5f214bb0 100644
--- a/src/roster.py
+++ b/src/roster.py
@@ -234,7 +234,7 @@ class RosterGroup(object):
def compare_contact(a):
if not a.get_highest_priority_resource():
return 0
- show = a.get_highest_priority_resource().get_presence()
+ show = a.get_highest_priority_resource()
if show not in PRESENCE_PRIORITY:
return 5
return PRESENCE_PRIORITY[show]