redraw account row too. see #2801
This commit is contained in:
parent
de6dcc57bd
commit
b902d06eaa
|
@ -2578,8 +2578,11 @@ class RosterWindow:
|
||||||
for c in gajim.contacts.get_contact(account, contact.jid):
|
for c in gajim.contacts.get_contact(account, contact.jid):
|
||||||
self.remove_contact(c, account)
|
self.remove_contact(c, account)
|
||||||
gajim.contacts.remove_jid(account, c.jid)
|
gajim.contacts.remove_jid(account, c.jid)
|
||||||
|
# redraw group rows for contact numbers
|
||||||
for group in c.groups:
|
for group in c.groups:
|
||||||
self.draw_group(group, account)
|
self.draw_group(group, account)
|
||||||
|
# redraw account rows for contact numbers
|
||||||
|
self.draw_account(account)
|
||||||
need_readd = False
|
need_readd = False
|
||||||
if not remove_auth and contact.sub == 'both':
|
if not remove_auth and contact.sub == 'both':
|
||||||
contact.name = ''
|
contact.name = ''
|
||||||
|
|
Loading…
Reference in New Issue