summaryrefslogtreecommitdiff
path: root/src/contact.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/contact.py')
-rw-r--r--src/contact.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/contact.py b/src/contact.py
index 69dfb984..48f5d751 100644
--- a/src/contact.py
+++ b/src/contact.py
@@ -62,6 +62,11 @@ class Contact(object):
return self.__item['groups'] or ['none']
@property
+ def resources(self):
+ """Resources of the contact"""
+ return self._resources
+
+ @property
def bare_jid(self):
"""The bare_jid or the contact"""
return self.__item.jid