Commit 85549f36 authored by Manfred Kutas's avatar Manfred Kutas

ZP-1001 Requestid in MeetingResponse is not split.

Released under the Affero GNU General Public License (AGPL) version 3.
parent a93e5be5
...@@ -764,6 +764,7 @@ class BackendKopano implements IBackend, ISearchProvider { ...@@ -764,6 +764,7 @@ class BackendKopano implements IBackend, ISearchProvider {
*/ */
public function MeetingResponse($requestid, $folderid, $response) { public function MeetingResponse($requestid, $folderid, $response) {
// Use standard meeting response code to process meeting request // Use standard meeting response code to process meeting request
list($fid, $requestid) = MAPIUtils::SplitMessageId($requestid);
$reqentryid = mapi_msgstore_entryidfromsourcekey($this->store, hex2bin($folderid), hex2bin($requestid)); $reqentryid = mapi_msgstore_entryidfromsourcekey($this->store, hex2bin($folderid), hex2bin($requestid));
if (!$reqentryid) if (!$reqentryid)
throw new StatusException(sprintf("BackendKopano->MeetingResponse('%s', '%s', '%s'): Error, unable to entryid of the message 0x%X", $requestid, $folderid, $response, mapi_last_hresult()), SYNC_MEETRESPSTATUS_INVALIDMEETREQ); throw new StatusException(sprintf("BackendKopano->MeetingResponse('%s', '%s', '%s'): Error, unable to entryid of the message 0x%X", $requestid, $folderid, $response, mapi_last_hresult()), SYNC_MEETRESPSTATUS_INVALIDMEETREQ);
......
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