Fix a (possible) traceback on /remove

This commit is contained in:
mathieui 2011-11-11 22:13:51 +01:00
parent ea5692544a
commit 0cfe87a9a6

View file

@ -1590,7 +1590,10 @@ class RosterInfoTab(Tab):
self.core.xmpp.sendPresence(pto=jid, ptype='unavailable')
self.core.xmpp.sendPresence(pto=jid, ptype='unsubscribe')
self.core.xmpp.sendPresence(pto=jid, ptype='unsubscribed')
try:
self.core.xmpp.del_roster_item(jid=jid)
except:
pass
def command_import(self, arg):
"""