summaryrefslogtreecommitdiff
path: root/program/steps/mail/compose.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2010-03-04 08:17:04 +0000
committerthomascube <thomas@roundcube.net>2010-03-04 08:17:04 +0000
commitbbc8565e5afa7e5352bc3aaf7cf067066ec6d4b1 (patch)
tree15e5df0355ddffc1367c0b2dd7b48b39b55e2661 /program/steps/mail/compose.inc
parenta96183883d95dc83a7d0951f5b834e44b062f9cf (diff)
Flag original messages after sending a draft (#1486203)
Diffstat (limited to 'program/steps/mail/compose.inc')
-rw-r--r--program/steps/mail/compose.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 52a396b0b..fa1ea9533 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -158,9 +158,9 @@ if (!empty($msg_uid))
{
if($MESSAGE->headers->in_reply_to)
{
- // TODO: how to get reply_uid/forward_uid value, maybe we must set X-Reply-UID/X-Forward-UID
- // $_SESSION['compose']['reply_uid'] = ?
- // $_SESSION['compose']['forward_uid'] = ?
+ // get reply_uid/forward_uid to flag the original message when sending
+ $_SESSION['compose']['reply_uid'] = $MESSAGE->headers->others['x-reply-uid'];
+ $_SESSION['compose']['forward_uid'] = $MESSAGE->headers->others['x-forward-uid'];
$_SESSION['compose']['reply_msgid'] = '<'.$MESSAGE->headers->in_reply_to.'>';
}
$_SESSION['compose']['references'] = $MESSAGE->headers->references;