summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 5a1a33a3..e0419fda 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -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')
- self.core.xmpp.del_roster_item(jid=jid)
+ try:
+ self.core.xmpp.del_roster_item(jid=jid)
+ except:
+ pass
def command_import(self, arg):
"""