Monotone-Parent: 8b81870c2b6bc608846d32e8e0b91c60d47ebb6a

Monotone-Revision: 7a12a4fc3471976029528f54b57e6999eff2b3aa

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-07-19T01:30:43
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2012-07-19 01:30:43 +00:00
parent 3ddba08a9e
commit 2de531a6cb
2 changed files with 7 additions and 0 deletions
+4
View File
@@ -1,5 +1,9 @@
2012-07-18 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* OpenChange/MAPIStoreCalendarFolder.m (-createMessage): attach a
WOContext to the newEntry in order to enable page templates
resolution when notifications are sent.
* OpenChange/MAPIApplication.m (-init): a WEResourceManager is
setup for the application so that page templates can be properly
be initialized.
+3
View File
@@ -35,6 +35,7 @@
#import "MAPIStoreCalendarContext.h"
#import "MAPIStoreCalendarMessage.h"
#import "MAPIStoreCalendarMessageTable.h"
#import "MAPIStoreUserContext.h"
#import "NSString+MAPIStore.h"
#import "MAPIStoreCalendarFolder.h"
@@ -67,6 +68,8 @@
newEntry = [SOGoAppointmentObject objectWithName: name
inContainer: sogoObject];
[newEntry setIsNew: YES];
/* the WOContext is required here for resolving notification pages */
[newEntry setContext: [[self userContext] woContext]];
newMessage = [MAPIStoreCalendarMessage mapiStoreObjectWithSOGoObject: newEntry
inContainer: self];