redraw account row too. see #2801

This commit is contained in:
Yann Leboulanger 2006-12-16 23:07:18 +00:00
parent de6dcc57bd
commit b902d06eaa
1 changed files with 3 additions and 0 deletions

View File

@ -2578,8 +2578,11 @@ class RosterWindow:
for c in gajim.contacts.get_contact(account, contact.jid):
self.remove_contact(c, account)
gajim.contacts.remove_jid(account, c.jid)
# redraw group rows for contact numbers
for group in c.groups:
self.draw_group(group, account)
# redraw account rows for contact numbers
self.draw_account(account)
need_readd = False
if not remove_auth and contact.sub == 'both':
contact.name = ''