From d02c764c477d900487a97f648260612046257a17 Mon Sep 17 00:00:00 2001 From: Todd Eisenberger Date: Sat, 1 Oct 2011 05:26:19 -0700 Subject: More contact management commands --- src/contact.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/contact.py') 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 -- cgit v1.2.3