summaryrefslogtreecommitdiff
path: root/src/contact.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-10-29 07:20:10 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-10-29 07:20:10 +0200
commit0451127ff8a1b96772b58ff9e246621d0df4c99e (patch)
tree00a650ba6f909ee1977bedeb3001798f39a38a0a /src/contact.py
parentb98880b5269764ad69bb19262790d27b2575b174 (diff)
parentaa6738800d67c5061d7e551b3d896f3366296045 (diff)
downloadpoezio-0451127ff8a1b96772b58ff9e246621d0df4c99e.tar.gz
poezio-0451127ff8a1b96772b58ff9e246621d0df4c99e.tar.bz2
poezio-0451127ff8a1b96772b58ff9e246621d0df4c99e.tar.xz
poezio-0451127ff8a1b96772b58ff9e246621d0df4c99e.zip
Merge branch 'master' into plugins
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