summaryrefslogtreecommitdiff
path: root/sleekxmpp
diff options
context:
space:
mode:
Diffstat (limited to 'sleekxmpp')
-rw-r--r--sleekxmpp/roster/item.py2
1 files changed, 1 insertions, 1 deletions
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()