From 6eba5f99462a31e94d25dfeec4fb4db0a080cb76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ana=C3=ABl=20Verrier?= <elghinn@free.fr>
Date: Mon, 20 Jul 2009 20:09:39 +0200
Subject: [PATCH] * fixed a bug (when we try to remove a jid from roster
 window)

---
 src/common/connection_handlers.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py
index 4a0ab8f545..d73968507d 100644
--- a/src/common/connection_handlers.py
+++ b/src/common/connection_handlers.py
@@ -2577,8 +2577,8 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
 		if received_from_server:
 			for contact in gajim.contacts.iter_contacts(self.name):
 				if not contact.is_groupchat() and contact.jid not in roster:
-					self.dispatch('ROSTER_INFO', (self.name,
-						(contact.jid, None, None, None, ())))
+					self.dispatch('ROSTER_INFO', (contact.jid, None, None, None,
+						()))
 			for jid in roster:
 				self.dispatch('ROSTER_INFO', (jid, roster[jid]['name'],
 					roster[jid]['subscription'], roster[jid]['ask'],
-- 
GitLab