Commit 4aaca4e1 authored by mku's avatar mku

ZP-326 #comment Merge contribution - BackendIMAP - Support Starred messages,...

ZP-326 #comment Merge contribution - BackendIMAP - Support Starred messages, device -> server direction #time 5m

git-svn-id: https://z-push.org/svn/z-push/trunk@1573 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent b918927c
......@@ -1297,7 +1297,6 @@ class BackendIMAP extends BackendDiff {
$this->imap_reopenFolder($folderImapid);
if (isset($message->flag->flagstatus) && $message->flag->flagstatus == 2) {
if(isset($message->flag->flagtype) && $message->flag->flagtype == "FollowUp") {
ZLog::Write(LOGLEVEL_DEBUG, "Set On FollowUp -> IMAP Flagged");
$status = @imap_setflag_full($this->mbox, $id, "\\Flagged",ST_UID);
}
......@@ -1305,11 +1304,6 @@ class BackendIMAP extends BackendDiff {
ZLog::Write(LOGLEVEL_DEBUG, "Clearing Flagged");
$status = @imap_clearflag_full ( $this->mbox, $id, "\\Flagged", ST_UID);
}
}
else {
ZLog::Write(LOGLEVEL_DEBUG, "Clearing Flagged");
$status = @imap_clearflag_full ( $this->mbox, $id, "\\Flagged", ST_UID);
}
if ($status) {
ZLog::Write(LOGLEVEL_DEBUG, "Flagged changed");
......
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