when a child change his status, redraw parent line too (parent icon may depend on children status). Fixes #1649
This commit is contained in:
parent
c88b4faf65
commit
08d07e3ffc
|
@ -402,6 +402,10 @@ class RosterWindow:
|
|||
state_images = self.get_appropriate_state_images(jid,
|
||||
size = 'closed', icon_name = icon_name)
|
||||
else:
|
||||
# redraw parent
|
||||
if gajim.contacts.is_subcontact(account, contact):
|
||||
parent_jid = gajim.contacts.get_parent_contact(account, contact).jid
|
||||
self.draw_contact(parent_jid, account)
|
||||
state_images = self.get_appropriate_state_images(jid,
|
||||
icon_name = icon_name)
|
||||
|
||||
|
|
Loading…
Reference in New Issue