Fix a crash when removing a contact.
Original author: louiz
This commit is contained in:
parent
a8d5da5091
commit
1a93a187f0
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue