summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py
index c3b3510d..47ef1696 100644
--- a/src/core.py
+++ b/src/core.py
@@ -591,6 +591,8 @@ class Core(object):
contact.set_subscription(item.attrib['subscription'])
groups = item.findall('{jabber:iq:roster}group')
roster.edit_groups_of_contact(contact, [group.text for group in groups])
+ if item.attrib['subscription'] == 'remove':
+ roster.remove_contact(contact.get_bare_jid())
if isinstance(self.current_tab(), tabs.RosterInfoTab):
self.refresh_window()