Commit 564d6f2e authored by Manfred Kutas's avatar Manfred Kutas

ZP-748 Added rightsManagementLicense property to SyncMail.

Released under the Affero GNU General Public License (AGPL) version 3.
parent e80483bb
......@@ -69,6 +69,9 @@ class SyncMail extends SyncObject {
public $sender;
public $categories;
// AS 14.1 props
public $rightsManagementLicense;
function __construct() {
$mapping = array (
SYNC_POOMMAIL_TO => array ( self::STREAMER_VAR => "to",
......@@ -182,7 +185,13 @@ class SyncMail extends SyncObject {
$mapping[SYNC_POOMMAIL_CATEGORIES] = array ( self::STREAMER_VAR => "categories",
self::STREAMER_ARRAY => SYNC_POOMMAIL_CATEGORY,
self::STREAMER_RONOTIFY => true);
//TODO bodypart, accountid, rightsmanagementlicense
//TODO bodypart, accountid
}
if (Request::GetProtocolVersion() >= 14.1) {
$mapping[SYNC_RIGHTSMANAGEMENT_LICENSE] = array ( self::STREAMER_VAR => "rightsManagementLicense",
self::STREAMER_TYPE => "SyncRightsManagementLicense"
);
}
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