From ce99ea66f88e79b26c95543f0a2bfd955dfc95fa Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 29 Jan 2006 13:38:01 +0000 Subject: [PATCH] wrong var name --- src/roster_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/roster_window.py b/src/roster_window.py index 2dca7fd95..524c1a62e 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -2662,7 +2662,7 @@ _('If "%s" accepts this request you will know his or her status.') % jid) # We upgrade only the first user because user2.groups is a pointer to # user1.groups if context.action != gtk.gdk.ACTION_COPY: - if grp_source in c.groups: + if grp_source in c_source.groups: # Make sure contact was in a group c_source.groups.remove(grp_source) if model.iter_n_children(iter_group_source) == 1: @@ -2675,7 +2675,7 @@ _('If "%s" accepts this request you will know his or her status.') % jid) break else: del gajim.groups[account][grp_source] - if not grp_dest in c.groups: + if not grp_dest in c_source.groups: c_source.groups.append(grp_dest) self.add_contact_to_roster(jid_source, account) gajim.connections[account].update_contact(jid_source, c_source.name,