diff options
Diffstat (limited to 'sleekxmpp')
-rw-r--r-- | sleekxmpp/stanza/roster.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sleekxmpp/stanza/roster.py b/sleekxmpp/stanza/roster.py index 4788ba72..253c2aea 100644 --- a/sleekxmpp/stanza/roster.py +++ b/sleekxmpp/stanza/roster.py @@ -141,9 +141,7 @@ class RosterItem(ElementBase): def del_groups(self): for group in self.xml.findall('{%s}group' % self.namespace): - self.xmp.remove(group) - - + self.xml.remove(group) register_stanza_plugin(Iq, Roster) |