(fix) make sure PRODID is set to Inverse/SOGo when importing events

pull/89/head
Ludovic Marcotte 2015-06-09 13:38:10 -04:00
parent aa623c5171
commit 76360958a2
1 changed files with 2 additions and 0 deletions

View File

@ -3157,6 +3157,8 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
inContainer: self];
[object setIsNew: YES];
content = [NSMutableString stringWithString: @"BEGIN:VCALENDAR\n"];
[content appendFormat: @"PRODID:-//Inverse inc./SOGo %@//EN\n", SOGoVersion];
if (timezone)
[content appendFormat: @"%@\n", [timezone versitString]];
[content appendFormat: @"%@\nEND:VCALENDAR", [event versitString]];