diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-10-27 10:53:56 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-10-27 10:53:56 +0000 |
| commit | af73429c01631fa4937381070b4f17dcd14d3ee7 (patch) | |
| tree | 62f116d33e2c6d1bde6cd0e70d8447a41eafbf45 | |
| parent | e5050c283f5b74ca2146fea18965b1d55603189a (diff) | |
-fix: mark as read (for read_when_deleted) only when moving messages to trash
git-svn-id: https://svn.roundcube.net/trunk@2018 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/steps/mail/move_del.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/move_del.inc b/roundcubemail/program/steps/mail/move_del.inc index 7dd4489b8..673bd800b 100644 --- a/roundcubemail/program/steps/mail/move_del.inc +++ b/roundcubemail/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); |
