[FIX]Storage : attempt fo fix iOS name hidden by fixing 'n' family

This commit is contained in:
Fabien BOURGEOIS 2018-06-08 10:03:01 +02:00
parent 274bc29313
commit c175628cb3
1 changed files with 1 additions and 0 deletions

View File

@ -215,6 +215,7 @@ class Collection(BaseCollection):
last_modified = str(partner.get('write_date'))
vobject_item = vobject.vCard()
vobject_item.add('n')
vobject_item.n.value = vobject.vcard.Name(family=partner.get('name'))
vobject_item.add('fn')
vobject_item.fn.value = partner.get('name')
vobject_item.add('adr')