mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 08:55:08 +00:00
Monotone-Parent: 052f9de55b5ccfe5944c8d715ee190708be0140e
Monotone-Revision: 8268efeb15753e2949b09378244938f0b6bb08a8 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-09-29T18:26:29 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
#include "common.h"
|
||||
#include <SOGo/AgenorUserManager.h>
|
||||
#include <NGCards/NGCards.h>
|
||||
#include <NGCards/iCalRenderer.h>
|
||||
|
||||
@interface NSDate(UsedPrivates)
|
||||
- (NSString *)icalString; // declared in NGCards
|
||||
@@ -123,8 +122,9 @@
|
||||
{
|
||||
AgenorUserManager *um;
|
||||
NSMutableString *ms;
|
||||
NSString *uid, *x;
|
||||
NSString *uid;
|
||||
unsigned i, count;
|
||||
iCalPerson *person;
|
||||
|
||||
um = [AgenorUserManager sharedUserManager];
|
||||
uid = [[self container] login];
|
||||
@@ -145,17 +145,9 @@
|
||||
/* ORGANIZER - strictly required but missing for now */
|
||||
|
||||
/* ATTENDEE */
|
||||
[ms appendString:@"ATTENDEE"];
|
||||
if ((x = [um getCNForUID:uid])) {
|
||||
[ms appendString:@";CN=\""];
|
||||
[ms appendString:[x iCalDQUOTESafeString]];
|
||||
[ms appendString:@"\""];
|
||||
}
|
||||
if ((x = [um getEmailForUID:uid])) {
|
||||
[ms appendString:@":"]; /* sic! */
|
||||
[ms appendString:[x iCalSafeString]];
|
||||
}
|
||||
[ms appendString:@"\r\n"];
|
||||
person = [um iCalPersonWithUid: uid];
|
||||
[person setTag: @"ATTENDEE"];
|
||||
[ms appendString: [person versitString]];
|
||||
|
||||
/* DTSTART */
|
||||
[ms appendString:@"DTSTART:"];
|
||||
|
||||
Reference in New Issue
Block a user