changeset 994d7a0f50f7 in /home/hg/repos/gajim

details:http://hg.gajim.org/gajim?cmd=changeset;node=994d7a0f50f7
description: fix wrong var name

diffstat:

 src/gui_interface.py |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r 2cd483328d9e -r 994d7a0f50f7 src/gui_interface.py
--- a/src/gui_interface.py      Mon May 09 20:32:48 2011 +0200
+++ b/src/gui_interface.py      Fri May 20 13:21:47 2011 +0200
@@ -1276,9 +1276,9 @@
             #   According to xep 0162, a contact is not an observer anymore 
when
             #   we asked for auth, so also remove him if ask changed
             old_groups = contacts[0].groups
-            if obj.sub == 'remove':
+            if sub == 'remove':
                 # another of our instance removed a contact. Remove it here too
-                self.roster.remove_contact(obj.jid, account, backend=True)
+                self.roster.remove_contact(jid, account, backend=True)
                 return
             if contacts[0].sub != sub or contacts[0].ask != ask\
             or old_groups != groups:
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to