groups must always be a list, fix that
This commit is contained in:
parent
9c9a7efd6d
commit
eb055c5bf2
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue