diff --git a/ActiveSync/SOGoMailObject+ActiveSync.m b/ActiveSync/SOGoMailObject+ActiveSync.m index 5992482fb..411d3964a 100644 --- a/ActiveSync/SOGoMailObject+ActiveSync.m +++ b/ActiveSync/SOGoMailObject+ActiveSync.m @@ -30,12 +30,14 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "SOGoMailObject+ActiveSync.h" #import +#import #import #import #import #import #import +#import #import #import @@ -417,6 +419,12 @@ struct GlobalObjectId { [s appendFormat: @"%@", [[event organizer] rfc822Email]]; [s appendFormat: @"%d", 1]; + // We disallow new time proposals + [s appendFormat: @"%d", 1]; + + // We set the right message type + [s appendFormat: @"%d", 1]; + // From http://blogs.msdn.com/b/exchangedev/archive/2011/07/22/working-with-meeting-requests-in-exchange-activesync.aspx: // // "Clients that need to determine whether the GlobalObjId element for a meeting request corresponds to an existing Calendar @@ -429,6 +437,7 @@ struct GlobalObjectId { // MesssageClass and ContentClass [s appendFormat: @"%@", @"IPM.Schedule.Meeting.Request"]; [s appendFormat: @"%@", @"urn:content-classes:calendarmessage"]; + } else {