diff --git a/sleekxmpp/roster/item.py b/sleekxmpp/roster/item.py index 9980b3b4..1520f770 100644 --- a/sleekxmpp/roster/item.py +++ b/sleekxmpp/roster/item.py @@ -224,7 +224,7 @@ class RosterItem(object): if self['to']: p = self.xmpp.Presence() p['to'] = self.jid - p['type'] = ['unsubscribe'] + p['type'] = 'unsubscribe' if self.xmpp.is_component: p['from'] = self.owner p.send()