Changeset 2855518 in github


Ignore:
Timestamp:
Oct 27, 2008 6:41:40 AM (5 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
09fc3f3
Parents:
11b1b16
Message:
  • Fix unread message unintentionally marked as read if read_when_deleted=true (#1485409)
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r95d90f8 r2855518  
    11CHANGELOG RoundCube Webmail 
    22--------------------------- 
     3 
     42008/10/27 (alec) 
     5---------- 
     6- Fix unread message unintentionally marked as read if read_when_deleted=true (#1485409) 
     7- Remove port number from SERVER_NAME in smtp_helo_host (#1485518) 
    38 
    492008/10/25 (alec) 
  • program/steps/mail/move_del.inc

    r9281884 r2855518  
    2929    $target = get_input_value('_target_mbox', RCUBE_INPUT_POST); 
    3030    $mbox = get_input_value('_mbox', RCUBE_INPUT_POST); 
     31 
     32    // flag messages as read before moving them 
     33    if ($CONFIG['read_when_deleted']) 
     34        $IMAP->set_flag($uids, 'SEEN'); 
     35 
    3136    $moved = $IMAP->move_message($uids, $target, $mbox); 
    3237   
     
    3843        exit; 
    3944    } 
    40  
    41     // flag old messages as read because rcube_imap will not send expunge command after moving 
    42     if ($CONFIG['read_when_deleted']) 
    43         $IMAP->set_flag($uids, 'SEEN'); 
    4445 
    4546    if (!$CONFIG['flag_for_deletion']) 
Note: See TracChangeset for help on using the changeset viewer.