diff --git a/ChangeLog b/ChangeLog index 8cd7fe1ac..f41a82719 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2008-02-08 Wolfgang Sourdeau + * UI/MailPartViewers/UIxMailPartICalViewer.m + ([UIxMailPartICalViewer -currentUserAttendee]): new method that + returns the current user as an attendee representation in the + displayed event, if found. + * SoObjects/Mailer/SOGoMailAccount.m ([SOGoMailAccount -_urlHostString]): replace "@" with %40 AFTER invoking stringByEscapingURL. diff --git a/UI/MailPartViewers/UIxMailPartICalViewer.m b/UI/MailPartViewers/UIxMailPartICalViewer.m index 737e17d27..66df01d20 100644 --- a/UI/MailPartViewers/UIxMailPartICalViewer.m +++ b/UI/MailPartViewers/UIxMailPartICalViewer.m @@ -39,6 +39,7 @@ #import #import +#import #import #import #import @@ -349,6 +350,15 @@ return [attendees objectAtIndex:0]; } +- (iCalPerson *) currentUserAttendee +{ + iCalPerson *currentUser; + + currentUser = [[self storedEvent] findParticipant: [context activeUser]]; + + return currentUser; +} + - (iCalPerson *) storedReplyAttendee { /* diff --git a/UI/Templates/MailPartViewers/UIxMailPartICalViewer.wox b/UI/Templates/MailPartViewers/UIxMailPartICalViewer.wox index e6a9771d0..d4f58af6e 100644 --- a/UI/Templates/MailPartViewers/UIxMailPartICalViewer.wox +++ b/UI/Templates/MailPartViewers/UIxMailPartICalViewer.wox @@ -39,21 +39,24 @@ - -

+

+ + + - - - | - -

-
+
+ + + | + +