Page MenuHomePhabricator

Stop moving "Cc" addresses to "To" when building mail targets
ClosedPublic

Authored by epriestley on Mar 12 2016, 12:04 AM.
Tags
None
Referenced Files
F18978591: D15465.id.diff
Sun, Nov 16, 7:58 PM
F18923694: D15465.diff
Sun, Nov 9, 4:56 PM
F18839622: D15465.id.diff
Oct 27 2025, 5:41 PM
F18791100: D15465.diff
Oct 16 2025, 1:51 AM
F18737486: D15465.id37270.diff
Oct 1 2025, 11:02 AM
F18737485: D15465.id37268.diff
Oct 1 2025, 11:02 AM
F18718853: D15465.diff
Sep 29 2025, 4:26 PM
F18711525: D15465.id.diff
Sep 29 2025, 4:16 AM
Subscribers
None

Details

Summary

Fixes T10539. When building mail targets, we fail to preserve whether a recipient was originally "To" or "Cc", and just move everyone to "To".

Test Plan

Added a comment to a task with a "To" user and a "Cc" user, with metamta.placeholder-to-recipient set and metamta.one-mail-per-recipient set.

Got mail with me Cc'd as the Cc'd user:

tocc.png (327×470 px, 36 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Stop moving "Cc" addresses to "To" when building mail targets.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.

I haven't actually tested this properly yet since my local task queue has like 30K commits to parse from the dummy repository I built in T10368. Once the queue flushes I'll make sure this actually works.

epriestley edited edge metadata.
  • Now with testing!
epriestley edited edge metadata.
chad edited edge metadata.
This revision is now accepted and ready to land.Mar 12 2016, 3:17 PM
This revision was automatically updated to reflect the committed changes.