Commit: 402eb678b19e0867201484f148894b84080f041b
Parent: f9158801b80f80734050a270dd9f41faa589844d
Author: Radoslaw Jablonski <ext-jablonski.radoslaw@nokia.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:24
Tree: 7749de2a9e91df171c549156ce44fbb7287a8c18

obexd: Fix multiple phone number problem in pull vcard This fixes problem with pull vcard when contact has more than one home or work number defined in tracker - more than one VCARD was generated in response for pull vcard request. This was caused by nature of the data retrieved from tracker - contact with multiple numbers set was returned as many entries with identical id. Previously VCARDs was generated on the fly - now added contact-data caching and checking for contact id. VCARD is now generated when all responses of tracker were processed - and only one vcard is returned for one contact entry.

Diffstat

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

1 files changed, 109 insertions(+), 21 deletions(-)

View Full Diff | Patch