Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #25024 from arcturus/bug-1080008
Browse files Browse the repository at this point in the history
Bug 1080008 - [Contacts] Importing contacts with special characters from Outlook do not appear correctly in contacts list. r=sergi
  • Loading branch information
arcturus committed Oct 10, 2014
2 parents 29c271e + e0043af commit a95b616
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion shared/js/contacts/import/live/live_connector.js
Expand Up @@ -84,7 +84,10 @@ if (!window.LiveConnector) {
out.uid = source.user_id || source.id;
out.givenName = [source.first_name || ''];
out.familyName = [source.last_name || ''];
out.email1 = source.emails.account || '';
out.email1 = source.emails.account ||
source.emails.preferred ||
source.emails.personal ||
'';

out.contactPictureUri = [LIVE_ENDPOINT, out.uid,
PICTURE_RESOURCE, '?type=medium'].join('');
Expand Down

0 comments on commit a95b616

Please sign in to comment.