summaryrefslogtreecommitdiff
path: root/src/contact.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/contact.py')
-rw-r--r--src/contact.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/contact.py b/src/contact.py
index 9d2885be..99c24a32 100644
--- a/src/contact.py
+++ b/src/contact.py
@@ -66,6 +66,12 @@ class Contact(object):
self._ask = None
self._groups = [] # a list of groups the contact is in
+ def get_groups(self):
+ """
+ Return the groups the contact is in
+ """
+ return self._groups
+
def get_bare_jid(self):
"""
Just get the bare_jid or the contact