Commit 2b739fba authored by skummer's avatar skummer

ZP-341 #comment do not use move operation as this has side effects. Instead...

ZP-341 #comment do not use move operation as this has side effects. Instead old (proven) mechanism is used and attachments are explicitly copied #time 30m

git-svn-id: https://z-push.org/svn/z-push/trunk@1682 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent 17b1e7ea
......@@ -940,6 +940,13 @@ If it is the first time this attendee has proposed a new date/time, increment th
$props[$this->proptags['busystatus']] = $tentative ? fbTentative : fbBusy;
}
// ZP-341 - we need to copy as well the attachments
// Copy attachments too
$this->replaceAttachments($this->message, $new);
// Copy recipients too
$this->replaceRecipients($this->message, $new, $isDelegate);
// ZP-341 - end
if($userAction) {
// if user has responded then set replytime
$props[$this->proptags['replytime']] = time();
......
......@@ -689,10 +689,10 @@ class BackendZarafa implements IBackend, ISearchProvider {
switch($response) {
case 1: // accept
default:
$entryid = $meetingrequest->doAccept(false, false, true, false, false, false, true); // last true is the $userAction
$entryid = $meetingrequest->doAccept(false, false, false, false, false, false, true); // last true is the $userAction
break;
case 2: // tentative
$entryid = $meetingrequest->doAccept(true, false, true, false, false, false, true); // last true is the $userAction
$entryid = $meetingrequest->doAccept(true, false, false, false, false, false, true); // last true is the $userAction
break;
case 3: // decline
$meetingrequest->doDecline(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment