diff options
author | Todd Eisenberger <todd@teisen.be> | 2011-10-01 05:26:19 -0700 |
---|---|---|
committer | Todd Eisenberger <todd@teisen.be> | 2011-10-01 05:26:19 -0700 |
commit | d02c764c477d900487a97f648260612046257a17 (patch) | |
tree | d66fe7d008d1ff1e4089907b3a52372a4a8ca4f6 /src/contact.py | |
parent | 7683bf92a78e9cfeefdb35dfbd9e65e65597e4df (diff) | |
download | poezio-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.py | 6 |
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 |