diff options
author | Lance Stout <lancestout@gmail.com> | 2011-11-06 08:33:03 -0800 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-11-06 08:33:03 -0800 |
commit | 1a93a187f0d5216d20ef0b40d08b93372a5e717d (patch) | |
tree | d5ae1c38786f316a05cf7c96dc3ce4e00774d496 /sleekxmpp/roster | |
parent | a8d5da509128c48aee8c5e0060ef53fa397e2122 (diff) | |
download | slixmpp-1a93a187f0d5216d20ef0b40d08b93372a5e717d.tar.gz slixmpp-1a93a187f0d5216d20ef0b40d08b93372a5e717d.tar.bz2 slixmpp-1a93a187f0d5216d20ef0b40d08b93372a5e717d.tar.xz slixmpp-1a93a187f0d5216d20ef0b40d08b93372a5e717d.zip |
Fix a crash when removing a contact.
Original author: louiz
Diffstat (limited to 'sleekxmpp/roster')
-rw-r--r-- | sleekxmpp/roster/item.py | 2 |
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() |