summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/roster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roster.py b/src/roster.py
index 8d59e345..c7717ea8 100644
--- a/src/roster.py
+++ b/src/roster.py
@@ -243,7 +243,7 @@ def sort_jid(contact):
def sort_show(contact):
res = contact.get_highest_priority_resource()
if not res:
- return 0
+ return 5
show = res.presence
if show not in PRESENCE_PRIORITY:
return 0