mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-09 13:35:26 +00:00
See ChangeLog
Monotone-Parent: bf61903ccf7c6cc0d2ac1b5e7741da7a1e6dd891 Monotone-Revision: 815204fe1b8d9f62f875d9e22c4883aede5c1e8d Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2010-04-05T20:17:39 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -8,6 +8,11 @@
|
||||
We now use URL: in cards w/o a home/work preferred
|
||||
value as a home URL.
|
||||
|
||||
* UI/Contacts/UIxContactEditor.m
|
||||
We now fallback to TEL;VOICE: when neither HOME
|
||||
or WORK are defined. We set that value as the
|
||||
WORK telephone number in this particular case.
|
||||
|
||||
2010-04-02 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* SoObjects/Appointments/SOGoCalendarComponent.m
|
||||
|
||||
@@ -395,6 +395,28 @@
|
||||
[self _setSnapshotValue: @"pager"
|
||||
to: [self _simpleValueForType: @"pager" inArray: elements]];
|
||||
|
||||
// If we don't have a "home" and "work" phone number but
|
||||
// we have a "voice" one defined, we set it to the "work" value
|
||||
// This can happen when we have :
|
||||
// VERSION:2.1
|
||||
// N:name;surname;;;;
|
||||
// TEL;VOICE;HOME:
|
||||
// TEL;VOICE;WORK:
|
||||
// TEL;PAGER:
|
||||
// TEL;FAX;WORK:
|
||||
// TEL;CELL:514 123 1234
|
||||
// TEL;VOICE:450 456 6789
|
||||
// ADR;HOME:;;;;;;
|
||||
// ADR;WORK:;;;;;;
|
||||
// ADR:;;;;;;
|
||||
if ([[snapshot objectForKey: @"telephoneNumber"] length] == 0 &&
|
||||
[[snapshot objectForKey: @"homeTelephoneNumber"] length] == 0 &&
|
||||
[elements count] > 0)
|
||||
{
|
||||
[self _setSnapshotValue: @"telephoneNumber"
|
||||
to: [self _simpleValueForType: @"voice" inArray: elements]];
|
||||
}
|
||||
|
||||
[self _setupEmailFields];
|
||||
|
||||
[self _setSnapshotValue: @"screenName"
|
||||
|
||||
Reference in New Issue
Block a user