mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-27 06:15:26 +00:00
Monotone-Parent: 09b0d503bdecee3c305021b5aa23a3b7372aefb0
Monotone-Revision: 7023cb55bf9c1104e85e96a623772bbc7ded0d5b Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-12-30T14:53:11 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <gen_ndr/exchange.h>
|
||||
#include <mapistore/mapistore_nameid.h>
|
||||
|
||||
#import <Foundation/NSDictionary.h>
|
||||
#import <Foundation/NSTimeZone.h>
|
||||
@@ -41,6 +42,7 @@
|
||||
|
||||
#import "SOGoAppointmentObject+MAPIStore.h"
|
||||
|
||||
|
||||
@implementation SOGoAppointmentObject (MAPIStoreMessage)
|
||||
|
||||
/* TODO: merge with tasks */
|
||||
@@ -102,7 +104,7 @@
|
||||
[vEvent setSummary: value];
|
||||
|
||||
// Location
|
||||
value = [properties objectForKey: MAPIPropertyKey (0x810c001f)];
|
||||
value = [properties objectForKey: MAPIPropertyKey (PidLidLocation)];
|
||||
if (value)
|
||||
[vEvent setLocation: value];
|
||||
|
||||
@@ -112,6 +114,8 @@
|
||||
|
||||
// start
|
||||
value = [properties objectForKey: MAPIPropertyKey (PR_START_DATE)];
|
||||
if (!value)
|
||||
value = [properties objectForKey: MAPIPropertyKey (PidLidAppointmentStartWhole)];
|
||||
if (value)
|
||||
{
|
||||
start = (iCalDateTime *) [vEvent uniqueChildWithTag: @"dtstart"];
|
||||
@@ -121,6 +125,8 @@
|
||||
|
||||
// end
|
||||
value = [properties objectForKey: MAPIPropertyKey (PR_END_DATE)];
|
||||
if (!value)
|
||||
value = [properties objectForKey: MAPIPropertyKey (PidLidAppointmentEndWhole)];
|
||||
if (value)
|
||||
{
|
||||
end = (iCalDateTime *) [vEvent uniqueChildWithTag: @"dtend"];
|
||||
|
||||
Reference in New Issue
Block a user