summaryrefslogtreecommitdiff
path: root/program/lib
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-06-30 09:36:18 +0000
committeralecpl <alec@alec.pl>2008-06-30 09:36:18 +0000
commite189a6ca18fe43def249c78a0e89405012981de5 (patch)
tree8b07040a2ad5aa889b04a0b187e0ffd15c7a35b7 /program/lib
parent06af9bc9cd6ee782e4f3e88849c6f90e22c4bdec (diff)
- Added flag column on messages list (#1484623)
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;