Commit: e24d619fc3201320a5722f3d7f69721e0c4e5f34
Parent: cd80166367c73d3645524c0dfe6247e0f01718db
Author: Slawomir Bochenski <lkslawek@gmail.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:47
Tree: b0989e4d66bc145bc2a720106b06ad135882fa9f

obexd: phonebook-tracker: Seek for contact name deeper Some contacts in Tracker can have no name fields set nor nickname. This patch enhances the way the contact name is obtained: 1) If there is no nco:nickname set for contact, use nco:imNickname from its related IM data. 2) As the N field is mandatory in both vCard 2.1 and 3.0 and it's the most useful field for PBAP clients, if its components are not present in Tracker, use nco:fullname (thus promote FN to N) or if nco:fullname is also not present, then use previously obtained nickname for N field.

Diffstat

M obexd/plugins/phonebook-tracker.c | 91 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - -

1 files changed, 81 insertions(+), 10 deletions(-)

View Full Diff | Patch