Commit e1d60ce5 authored by mku's avatar mku

ZP-183 #comment Read flag is not synchronized with the mobile #time 30m

git-svn-id: https://z-push.org/svn/z-push/trunk@1389 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent 092b23bc
...@@ -112,6 +112,11 @@ class ImportChangesStream implements IImportChanges { ...@@ -112,6 +112,11 @@ class ImportChangesStream implements IImportChanges {
else { else {
// on update of an SyncEmail we only export the flags // on update of an SyncEmail we only export the flags
if($message instanceof SyncMail && isset($message->flag) && $message->flag instanceof SyncMailFlags) { if($message instanceof SyncMail && isset($message->flag) && $message->flag instanceof SyncMailFlags) {
if (Utils::CheckMapiExtVersion('6.40')) {
ZLog::Write(LOGLEVEL_DEBUG, "Switched from message change to ImportMessageReadFlag for ZCP 6.40");
$this->ImportMessageReadFlag($id, $message->read);
return true;
}
$newmessage = new SyncMail(); $newmessage = new SyncMail();
$newmessage->flag = $message->flag; $newmessage->flag = $message->flag;
$message = $newmessage; $message = $newmessage;
......
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