summaryrefslogtreecommitdiff
path: root/program/lib
diff options
context:
space:
mode:
Diffstat (limited to 'program/lib')
-rw-r--r--program/lib/imap.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/program/lib/imap.inc b/program/lib/imap.inc
index ce02071b6..e3df35699 100644
--- a/program/lib/imap.inc
+++ b/program/lib/imap.inc
@@ -149,6 +149,7 @@ class iilBasicHeader
var $answered = false;
var $forwarded = false;
var $junk = false;
+ var $flagged = false;
}
/**
@@ -1758,6 +1759,8 @@ function iil_C_FetchHeaders(&$conn, $mailbox, $message_set, $uidfetch=false)
$result[$id]->forwarded = true;
} else if (strcasecmp($val, '$MDNSent') == 0) {
$result[$id]->mdn_sent = true;
+ } else if (strcasecmp($val, 'Flagged') == 0) {
+ $result[$id]->flagged = true;
}
}
$result[$id]->flags = $flags_a;