mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-06 20:15:26 +00:00
Monotone-Parent: 105b571703ff5c4cc1024854ef8a1d987aef2bf1
Monotone-Revision: deb19e29a470db5c60606444f9e82eb9aa85ce1d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-08-17T20:12:50 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
2012-08-17 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreCalendarMessage.m
|
||||
(-getPidTagMessageClass:inMemCtx:): return
|
||||
"IPM.Schedule.Meeting.Request" when the owner user is an attendee.
|
||||
|
||||
* OpenChange/MAPIStoreAppointmentWrapper.m
|
||||
(-getPidLidAppointmentNotAllowPropose:inMemCtx): new getter that
|
||||
always return "YES", in order to disallow counter proposals.
|
||||
|
||||
* OpenChange/MAPIStoreContext.m (-getPath:ofFMID:inMemCtx:):
|
||||
properly escape urls containing non-ascii chars.
|
||||
(-getRootFoldeR:withFID:): idem.
|
||||
|
||||
@@ -709,6 +709,12 @@ static NSCharacterSet *hexCharacterSet = nil;
|
||||
|
||||
return MAPISTORE_SUCCESS;
|
||||
}
|
||||
|
||||
- (int) getPidLidAppointmentNotAllowPropose: (void **) data
|
||||
inMemCtx: (TALLOC_CTX *) memCtx
|
||||
{
|
||||
return [self getYes: data inMemCtx: memCtx];
|
||||
}
|
||||
|
||||
- (int) getPidLidAppointmentStartWhole: (void **) data
|
||||
inMemCtx: (TALLOC_CTX *) memCtx
|
||||
|
||||
@@ -210,7 +210,13 @@ static Class NSArrayK;
|
||||
- (int) getPidTagMessageClass: (void **) data
|
||||
inMemCtx: (TALLOC_CTX *) memCtx
|
||||
{
|
||||
*data = talloc_strdup (memCtx, "IPM.Appointment");
|
||||
SOGoUser *owner;
|
||||
|
||||
owner = [[self userContext] sogoUser];
|
||||
if ([masterEvent userAsAttendee: owner])
|
||||
*data = talloc_strdup (memCtx, "IPM.Schedule.Meeting.Request");
|
||||
else
|
||||
*data = talloc_strdup (memCtx, "IPM.Appointment");
|
||||
|
||||
return MAPISTORE_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user