From 40c2b97c997f4ab2382f490603d48eff84b4cd09 Mon Sep 17 00:00:00 2001 From: Stephan Erb Date: Sun, 6 Jul 2008 22:55:42 +0000 Subject: [PATCH] Redraw family after readding. See r9894 --- src/roster_window.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/roster_window.py b/src/roster_window.py index 470330f6d..8f0255612 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -710,10 +710,12 @@ class RosterWindow: # Remove contact before redrawing, otherwise the old # numbers will still be show gajim.contacts.remove_jid(account, jid, remove_meta=True) - family = gajim.contacts.get_metacontacts_family(account, jid) if family: # reshow the rest of the family - self._add_metacontact_family(family, account) + brothers = self._add_metacontact_family(family, account) + for c, acc in brothers: + self.draw_contact(c.jid, acc) + self.draw_avatar(c.jid, acc) # Draw all groups of the contact for group in contact.get_shown_groups():