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,14 +1297,8 @@ class BackendIMAP extends BackendDiff { ...@@ -1297,14 +1297,8 @@ class BackendIMAP extends BackendDiff {
$this->imap_reopenFolder($folderImapid); $this->imap_reopenFolder($folderImapid);
if (isset($message->flag->flagstatus) && $message->flag->flagstatus == 2) { 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");
ZLog::Write(LOGLEVEL_DEBUG, "Set On FollowUp -> IMAP Flagged"); $status = @imap_setflag_full($this->mbox, $id, "\\Flagged",ST_UID);
$status = @imap_setflag_full($this->mbox, $id, "\\Flagged",ST_UID);
}
else {
ZLog::Write(LOGLEVEL_DEBUG, "Clearing Flagged");
$status = @imap_clearflag_full ( $this->mbox, $id, "\\Flagged", ST_UID);
}
} }
else { else {
ZLog::Write(LOGLEVEL_DEBUG, "Clearing Flagged"); ZLog::Write(LOGLEVEL_DEBUG, "Clearing Flagged");
......
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