Changeset View
Changeset View
Standalone View
Standalone View
lib/kolab_sync_data_email.php
Show First 20 Lines • Show All 449 Lines • ▼ Show 20 Lines | // $result['ConversationIndex'] = 'CA2CFA8A23'; | ||||
// TODO handle other methods | // TODO handle other methods | ||||
if ($event['_method'] == 'REQUEST') { | if ($event['_method'] == 'REQUEST') { | ||||
$meeting['meetingMessageType'] = Syncroton_Model_EmailMeetingRequest::MESSAGE_TYPE_REQUEST; | $meeting['meetingMessageType'] = Syncroton_Model_EmailMeetingRequest::MESSAGE_TYPE_REQUEST; | ||||
} else { | } else { | ||||
$meeting['meetingMessageType'] = Syncroton_Model_EmailMeetingRequest::MESSAGE_TYPE_NORMAL; | $meeting['meetingMessageType'] = Syncroton_Model_EmailMeetingRequest::MESSAGE_TYPE_NORMAL; | ||||
} | } | ||||
// New time proposals aren't supported by Kolab. | |||||
// This disables the UI elements related to this on the client side | |||||
$meeting['disallowNewTimeProposal'] = 1; | |||||
$result['meetingRequest'] = new Syncroton_Model_EmailMeetingRequest($meeting); | $result['meetingRequest'] = new Syncroton_Model_EmailMeetingRequest($meeting); | ||||
} | } | ||||
// Categories (Tags) | // Categories (Tags) | ||||
if (isset($this->tag_categories) && $this->tag_categories) { | if (isset($this->tag_categories) && $this->tag_categories) { | ||||
// convert kolab tags into categories | // convert kolab tags into categories | ||||
$result['categories'] = $this->getKolabTags($message); | $result['categories'] = $this->getKolabTags($message); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 1,431 Lines • Show Last 20 Lines |