From cdaba0eb257dda4fe02f08178e789bc75389d0b1 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Sun, 23 Nov 2008 15:26:14 +0000 Subject: [PATCH] See ChangeLog Monotone-Parent: 57cbcf45049bbaef379f632ffc126cbef957d953 Monotone-Revision: 834fb725cc2c056023365e8279ac4c8fd1d4a94c Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2008-11-23T15:26:14 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 8 ++++++++ UI/Scheduler/UIxComponentEditor.m | 6 +++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5de2a99e5..868f97c17 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-11-23 Ludovic Marcotte + + * UI/Scheduler/UIxComponentEditor.m - _loadAttendees + We set the name to the rfc822 email address if the + cn is not available. This avoid NOT showing attendees + from the Web interface when only the email address + was specified from the attendee list. + 2008-11-23 Wolfgang Sourdeau * SoObjects/SOGo/SOGoUserFolder.m ([SOGoUserFolder diff --git a/UI/Scheduler/UIxComponentEditor.m b/UI/Scheduler/UIxComponentEditor.m index e44974a46..598022cca 100644 --- a/UI/Scheduler/UIxComponentEditor.m +++ b/UI/Scheduler/UIxComponentEditor.m @@ -177,7 +177,11 @@ iRANGE(2); attendees = [[component attendees] objectEnumerator]; while ((currentAttendee = [attendees nextObject])) { - [names appendFormat: @"%@,", [currentAttendee cn]]; + if ([[currentAttendee cn] length]) + [names appendFormat: @"%@,", [currentAttendee cn]]; + else + [names appendFormat: @"%@,", [currentAttendee rfc822Email]]; + [emails appendFormat: @"%@,", [currentAttendee rfc822Email]]; uid = [um getUIDForEmail: [currentAttendee rfc822Email]]; if (uid != nil)