summaryrefslogtreecommitdiff
path: root/src/contact.py
diff options
context:
space:
mode:
authorTodd Eisenberger <todd@teisen.be>2011-10-01 05:26:19 -0700
committerTodd Eisenberger <todd@teisen.be>2011-10-01 05:26:19 -0700
commitd02c764c477d900487a97f648260612046257a17 (patch)
treed66fe7d008d1ff1e4089907b3a52372a4a8ca4f6 /src/contact.py
parent7683bf92a78e9cfeefdb35dfbd9e65e65597e4df (diff)
downloadpoezio-d02c764c477d900487a97f648260612046257a17.tar.gz
poezio-d02c764c477d900487a97f648260612046257a17.tar.bz2
poezio-d02c764c477d900487a97f648260612046257a17.tar.xz
poezio-d02c764c477d900487a97f648260612046257a17.zip
More contact management commands
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