Commit d6e0867c authored by Manfred Kutas's avatar Manfred Kutas

ZP-745 Added body part element to SyncMail.

Released under the Affero GNU General Public License (AGPL) version 3.
parent e20c869c
...@@ -71,6 +71,7 @@ class SyncMail extends SyncObject { ...@@ -71,6 +71,7 @@ class SyncMail extends SyncObject {
// AS 14.1 props // AS 14.1 props
public $rightsManagementLicense; public $rightsManagementLicense;
public $asbodypart;
function __construct() { function __construct() {
$mapping = array ( $mapping = array (
...@@ -190,8 +191,9 @@ class SyncMail extends SyncObject { ...@@ -190,8 +191,9 @@ class SyncMail extends SyncObject {
if (Request::GetProtocolVersion() >= 14.1) { if (Request::GetProtocolVersion() >= 14.1) {
$mapping[SYNC_RIGHTSMANAGEMENT_LICENSE] = array ( self::STREAMER_VAR => "rightsManagementLicense", $mapping[SYNC_RIGHTSMANAGEMENT_LICENSE] = array ( self::STREAMER_VAR => "rightsManagementLicense",
self::STREAMER_TYPE => "SyncRightsManagementLicense" self::STREAMER_TYPE => "SyncRightsManagementLicense");
); $mapping[SYNC_AIRSYNCBASE_BODYPART] = array ( self::STREAMER_VAR => "asbodypart",
self::STREAMER_TYPE => "SyncBaseBodyPart");
} }
parent::__construct($mapping); parent::__construct($mapping);
......
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