From eb055c5bf20ecdd141d666cb02a0c5dfcb5929cb Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Tue, 7 Feb 2006 19:24:19 +0000
Subject: [PATCH] groups must always be a list, fix that

---
 src/gajim.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gajim.py b/src/gajim.py
index 00d2d050f9..70857a8fc3 100755
--- a/src/gajim.py
+++ b/src/gajim.py
@@ -611,7 +611,7 @@ class Interface:
 			name = jid.split('@', 1)[0]
 			name = name.split('%', 1)[0]
 			contact1 = gajim.contacts.create_contact(jid = jid, name = name,
-				groups = None, show = 'online', status = 'online',
+				groups = [], show = 'online', status = 'online',
 				ask = 'to', resource = array[1], keyID = keyID)
 			gajim.contacts.add_contact(account, contact1)
 			self.roster.add_contact_to_roster(jid, account)
-- 
GitLab