From de6dcc57bdfedc4a922564199539fa039926cb9f Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Sat, 16 Dec 2006 22:49:17 +0000
Subject: [PATCH] redraw group row when we remove a contact. fixes #2801

---
 src/roster_window.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/roster_window.py b/src/roster_window.py
index 07fb3b9c05..ded08f658a 100644
--- a/src/roster_window.py
+++ b/src/roster_window.py
@@ -2578,6 +2578,8 @@ class RosterWindow:
 				for c in gajim.contacts.get_contact(account, contact.jid):
 					self.remove_contact(c, account)
 				gajim.contacts.remove_jid(account, c.jid)
+				for group in c.groups:
+					self.draw_group(group, account)
 				need_readd = False
 				if not remove_auth and contact.sub == 'both':
 					contact.name = ''
-- 
GitLab