redraw group row when we remove a contact. fixes #2801
This commit is contained in:
parent
3289f8fdd1
commit
de6dcc57bd
|
@ -2578,6 +2578,8 @@ 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)
|
||||||
|
for group in c.groups:
|
||||||
|
self.draw_group(group, 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