1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 14:00:56 +01:00

Minor, don't use private "reply-to" if not enabled, even if multiplexing is forced.

This commit is contained in:
epriestley 2012-04-15 10:02:28 -07:00
parent ced84470a9
commit 3a1928215b

View file

@ -111,9 +111,13 @@ abstract class PhabricatorMailReplyHandler {
// This grouping is just so we can use the public reply-to for any
// recipients without a private reply-to, e.g. mailing lists.
$groups = array();
foreach ($recipients as $recipient) {
$private = $this->getPrivateReplyHandlerEmailAddress($recipient);
$groups[$private][] = $recipient;
if ($this->supportsPrivateReplies) {
foreach ($recipients as $recipient) {
$private = $this->getPrivateReplyHandlerEmailAddress($recipient);
$groups[$private][] = $recipient;
}
} else {
$groups[''] = array($recipients):
}
// When multiplexing mail, explicitly include To/Cc information in the