redraw group row when we remove a contact. fixes #2801

This commit is contained in:
Yann Leboulanger 2006-12-16 22:49:17 +00:00
parent 3289f8fdd1
commit de6dcc57bd
1 changed files with 2 additions and 0 deletions

View File

@ -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 = ''