mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-09 21:45:26 +00:00
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:
@@ -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.
|
||||
|
||||
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user