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 ac25d525..b6e24076 100644
--- a/src/roster.py
+++ b/src/roster.py
@@ -149,7 +149,7 @@ class Roster(object):
"""
n = 0
for contact in self:
- if contact.resources:
+ if len(contact):
n += 1
return n