From bea91baeaa2bf797bbd975bc7958c540b964bb47 Mon Sep 17 00:00:00 2001 From: Stephan Erb Date: Fri, 4 Apr 2008 09:44:47 +0000 Subject: [PATCH] Remove useless group redrawing. Remove unused variable. --- src/roster_window.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/roster_window.py b/src/roster_window.py index 10b63ea33..5258778d0 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -290,7 +290,6 @@ class RosterWindow: if hide and contact.sub != 'from': return observer = contact.is_observer() - groupchat = contact.is_groupchat() if observer: # if he has a tag, remove it @@ -3439,10 +3438,6 @@ class RosterWindow: for c in gajim.contacts.get_contacts(account, contact.jid): self.remove_contact(c, account) gajim.contacts.remove_jid(account, contact.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) if not remove_auth and contact.sub == 'both': contact.name = ''