mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
ActiveSync/Mail/MeetingRequests: HandlingMeetingRequests on MobileDevice has serious issues within our/zpush2 implementation. thus we overwrite the globalobjId from calendar object, as: if you delete the mail, that is the meeting-request its using the globalobjid as reference and deletes both: mail AND meeting. we dont want this. since accepting meeting requests with the mobile does nothing we see no further drawbacks with that. TODO: Look into MeetingRequestHandling
This commit is contained in:
parent
16f835822f
commit
862a848043
@ -1062,6 +1062,10 @@ class mail_zpush implements activesync_plugin_write, activesync_plugin_sendmail,
|
||||
($attachment = $this->mail->getAttachment($id, $attach['partID'],0,false,false,$_folderName)) &&
|
||||
($output->meetingrequest = calendar_zpush::meetingRequest($attachment['attachment'])))
|
||||
{
|
||||
//overwrite the globalobjId from calendar object, as: if you delete the mail, that is
|
||||
//the meeting-request its using the globalobjid as reference and deletes both:
|
||||
//mail AND meeting. we dont want this. accepting meeting requests with the mobile does nothing
|
||||
$output->meetingrequest->globalobjid = activesync_backend::uid2globalObjId($id);
|
||||
$output->messageclass = "IPM.Schedule.Meeting.Request";
|
||||
unset($attachment);
|
||||
continue; // do NOT add attachment as attachment
|
||||
|
Loading…
Reference in New Issue
Block a user