diff options
Diffstat (limited to 'program/steps/mail/list.inc')
-rw-r--r-- | program/steps/mail/list.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/program/steps/mail/list.inc b/program/steps/mail/list.inc index dac7ff5e2..1f6c21e43 100644 --- a/program/steps/mail/list.inc +++ b/program/steps/mail/list.inc @@ -53,6 +53,9 @@ if ($save_arr) $mbox_name = $IMAP->get_mailbox_name(); +// Synchronize mailbox cache, handle flag changes +$IMAP->mailbox_sync($mbox_name); + // initialize searching result if search_filter is used if ($_SESSION['search_filter'] && $_SESSION['search_filter'] != 'ALL') { @@ -116,5 +119,3 @@ else { // send response $OUTPUT->send(); - - |