mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-11 15:21:03 +01:00
Minor, don't use private "reply-to" if not enabled, even if multiplexing is forced.
This commit is contained in:
parent
ced84470a9
commit
3a1928215b
1 changed files with 7 additions and 3 deletions
|
@ -111,10 +111,14 @@ abstract class PhabricatorMailReplyHandler {
|
||||||
// This grouping is just so we can use the public reply-to for any
|
// This grouping is just so we can use the public reply-to for any
|
||||||
// recipients without a private reply-to, e.g. mailing lists.
|
// recipients without a private reply-to, e.g. mailing lists.
|
||||||
$groups = array();
|
$groups = array();
|
||||||
|
if ($this->supportsPrivateReplies) {
|
||||||
foreach ($recipients as $recipient) {
|
foreach ($recipients as $recipient) {
|
||||||
$private = $this->getPrivateReplyHandlerEmailAddress($recipient);
|
$private = $this->getPrivateReplyHandlerEmailAddress($recipient);
|
||||||
$groups[$private][] = $recipient;
|
$groups[$private][] = $recipient;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
$groups[''] = array($recipients):
|
||||||
|
}
|
||||||
|
|
||||||
// When multiplexing mail, explicitly include To/Cc information in the
|
// When multiplexing mail, explicitly include To/Cc information in the
|
||||||
// message body and headers.
|
// message body and headers.
|
||||||
|
|
Loading…
Reference in a new issue