diff options
Diffstat (limited to 'src/roster.py')
-rw-r--r-- | src/roster.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/roster.py b/src/roster.py index aed5f5a0..afe83c9e 100644 --- a/src/roster.py +++ b/src/roster.py @@ -45,6 +45,10 @@ class Roster(object): except IOError: return + def empty(self): + self._contacts = {} + self._roster_groups = [] + def add_contact(self, contact, jid): """ Add a contact to the contact list |