diff --git a/src/gajim.py b/src/gajim.py
index 00d2d050f91914d4757faace6f2e916ae2243e52..70857a8fc3a59cf313c25266d1c49b7f931c9310 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)