Skip to content

Commit

Permalink
delete message after meeting-response is processed successful by cale…
Browse files Browse the repository at this point in the history
…ndar
  • Loading branch information
ralfbecker committed Jun 15, 2019
1 parent 3346976 commit 5c2723d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mail/inc/class.mail_zpush.inc.php
Expand Up @@ -1226,6 +1226,9 @@ function MeetingResponse($folderid, $requestid, $response)
$ret = $this->backend->MeetingResponse($attachment['attachment'],
$this->backend->createID('calendar',$GLOBALS['egw_info']['user']['account_id']),
$response);

// delete message after meeting-response is processed successful by calendar
if ($ret) $this->DeleteMessage($folderid, $requestid, null);
break;
}
}
Expand Down Expand Up @@ -1805,7 +1808,7 @@ function AlterPingChanges($folderid, &$syncstate)
}
$syncstate = "M:". $status['messages'] ."-R:". $status['recent'] ."-U:". $status['unseen']."-NUID:".$status['uidnext']."-UIDV:".$status['uidvalidity'];

ZLog::Write(LOGLEVEL_DEBUG,__METHOD__."($folderid, ...) $folder ($account) returning ".array2string($syncstate));
if ($this->debugLevel) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__."($folderid, ...) $folder ($account) returning ".array2string($syncstate));
return array();
}

Expand Down

0 comments on commit 5c2723d

Please sign in to comment.