diff options
author | alecpl <alec@alec.pl> | 2008-10-27 10:53:56 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-10-27 10:53:56 +0000 |
commit | 09fc3f3087cad8296e60c24e0b8e159374c20ec4 (patch) | |
tree | de21d0ff9c99f09e0a15a3aa869b9c5bcf084d6a /program/steps/mail | |
parent | 2855518f1d189a715cf79b1e2c944e9b5dcd539f (diff) |
-fix: mark as read (for read_when_deleted) only when moving messages to trash
Diffstat (limited to 'program/steps/mail')
-rw-r--r-- | program/steps/mail/move_del.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/move_del.inc b/program/steps/mail/move_del.inc index 7dd4489b8..673bd800b 100644 --- a/program/steps/mail/move_del.inc +++ b/program/steps/mail/move_del.inc @@ -30,7 +30,7 @@ if ($RCMAIL->action=='moveto' && !empty($_POST['_uid']) && !empty($_POST['_targe $mbox = get_input_value('_mbox', RCUBE_INPUT_POST); // flag messages as read before moving them - if ($CONFIG['read_when_deleted']) + if ($CONFIG['read_when_deleted'] && $target == $CONFIG['trash_mbox']) $IMAP->set_flag($uids, 'SEEN'); $moved = $IMAP->move_message($uids, $target, $mbox); |