Changeset 1665 in subversion


Ignore:
Timestamp:
Aug 21, 2008 3:56:00 AM (5 years ago)
Author:
alec
Message:

#1485288: read In-Reply-To and References when composing saved draft

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/steps/mail/compose.inc

    r1655 r1665  
    101101    if (!empty($_SESSION['compose']['param']['_all'])) 
    102102      $MESSAGE->reply_all = 1; 
     103  } 
     104  else if ($compose_mode == RCUBE_COMPOSE_DRAFT) 
     105  { 
     106    if($MESSAGE->headers->in_reply_to) 
     107    { 
     108      // TODO: chow to get reply_uid/forward_uid value, maybe we must set X-Reply-UID/X-Forward-UID 
     109      // $_SESSION['compose']['reply_uid'] = ? 
     110      $_SESSION['compose']['reply_msgid'] = '<'.$MESSAGE->headers->in_reply_to.'>'; 
     111    } 
     112    $_SESSION['compose']['references']  = $MESSAGE->headers->references; 
    103113  } 
    104114  else if ($compose_mode == RCUBE_COMPOSE_FORWARD) 
Note: See TracChangeset for help on using the changeset viewer.