From 65edabfb6c2604c228c68e95b90e708f0a4fcc85 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Tue, 28 Mar 2006 14:50:19 +0000
Subject: [PATCH] some cleanup

---
 src/common/contacts.py   | 2 +-
 src/groupchat_control.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/common/contacts.py b/src/common/contacts.py
index 39162d44e2..083f8b3729 100644
--- a/src/common/contacts.py
+++ b/src/common/contacts.py
@@ -348,7 +348,7 @@ class Contacts:
 		'''Create a Contact instance from a GC_Contact instance'''
 		jid = gc_contact.get_full_jid()
 		return Contact(jid = jid, resource = '', name = gc_contact.name,
-			groups = ['none'], show = gc_contact.show, status = gc_contact.status,
+			groups = [], show = gc_contact.show, status = gc_contact.status,
 			sub = 'none')
 
 	def create_gc_contact(self, room_jid='', name='', show='', status='',
diff --git a/src/groupchat_control.py b/src/groupchat_control.py
index 99e6b0b74f..15efd4dc25 100644
--- a/src/groupchat_control.py
+++ b/src/groupchat_control.py
@@ -1581,7 +1581,7 @@ class GroupchatControl(ChatControlBase):
 			gajim.interface.instances[self.account]['infos'][c2.jid].window.present()
 		else:
 			gajim.interface.instances[self.account]['infos'][c2.jid] = \
-				vcard.VcardWindow(c2, self.account, False)
+				vcard.VcardWindow(c2, self.account)
 
 	def on_history(self, widget, nick):
 		jid = gajim.construct_fjid(self.room_jid, nick)
-- 
GitLab