Skip to content

Commit d1874f8

Browse files
committed
fix(other): remove envelope-to address exclusion from reply-all logic
1 parent dc109e1 commit d1874f8

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

modules/core/message_functions.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,6 @@ function reply_to_address($headers, $type) {
142142
$msg_cc = '';
143143
$headers = lc_headers($headers);
144144
$parsed = array();
145-
$delivered_address = false;
146-
if (array_key_exists('delivered-to', $headers)) {
147-
$delivered_address = array('email' => $headers['delivered-to'],
148-
'comment' => '', 'label' => '');
149-
}
150145

151146
if ($type == 'forward') {
152147
return $msg_to;
@@ -160,9 +155,6 @@ function reply_to_address($headers, $type) {
160155
}
161156
}
162157
if ($type == 'reply_all') {
163-
if ($delivered_address) {
164-
$parsed[] = $delivered_address;
165-
}
166158
if (array_key_exists('cc', $headers)) {
167159
list($cc_parsed, $msg_cc) = format_reply_address($headers['cc'], $parsed);
168160
$parsed += $cc_parsed;

0 commit comments

Comments
 (0)