diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-08-02 22:05:42 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-08-02 22:05:42 +0000 |
| commit | eca6d58b152ca833017703b335fe1574d3aa279e (patch) | |
| tree | 361bc5e326e22b6a21ecaca603a074892f1e67f3 /roundcubemail/program/steps | |
| parent | 3b6fad89188f361f5ef6be2352771fb13394ba2d (diff) | |
Message sorting: added patch by Eric; fixed check-for-recent confusion
git-svn-id: https://svn.roundcube.net/trunk@291 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
| -rw-r--r-- | roundcubemail/program/steps/mail/check_recent.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/check_recent.inc b/roundcubemail/program/steps/mail/check_recent.inc index f949eb232..5846699e7 100644 --- a/roundcubemail/program/steps/mail/check_recent.inc +++ b/roundcubemail/program/steps/mail/check_recent.inc @@ -40,7 +40,11 @@ foreach ($a_mailboxes as $mbox_name) // add new message headers to list $a_headers = array(); for ($i=$recent_count, $id=$count-$recent_count+1; $i>0; $i--, $id++) - $a_headers[] = $IMAP->get_headers($id, NULL, FALSE); + { + $header = $IMAP->get_headers($id, NULL, FALSE); + if ($header->recent) + $a_headers[] = $header; + } $commands .= rcmail_js_message_list($a_headers, TRUE); } |
