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
Unknown Object (File)
Wed, Apr 17, 10:28 PM
Unknown Object (File)
Tue, Apr 16, 4:07 AM
Unknown Object (File)
Tue, Apr 9, 7:40 PM
Unknown Object (File)
Feb 27 2024, 7:35 PM
Unknown Object (File)
Feb 14 2024, 8:30 PM
Unknown Object (File)
Feb 7 2024, 12:27 PM
Unknown Object (File)
Feb 4 2024, 4:30 AM
Unknown Object (File)
Jan 30 2024, 3:43 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.