Page MenuHomePhabricator

Extract some email address utility code from the receiver stack
ClosedPublic

Authored by epriestley on Jan 3 2019, 4:06 PM.
Tags
None
Referenced Files
F15441134: D19948.id47640.diff
Wed, Mar 26, 4:38 PM
F15438559: D19948.id.diff
Wed, Mar 26, 1:32 AM
F15433687: D19948.diff
Tue, Mar 25, 12:17 AM
F15432344: D19948.id.diff
Mon, Mar 24, 5:37 PM
F15414883: D19948.id47620.diff
Thu, Mar 20, 2:57 AM
F15376808: D19948.id47620.diff
Thu, Mar 13, 5:44 AM
F15336529: D19948.diff
Sat, Mar 8, 7:23 PM
Unknown Object (File)
Feb 9 2025, 6:52 AM
Subscribers
None

Details

Summary

Ref T7477. We have some address normalization code in the reciever stack that is really shared code. I want to introduce some new callsites elsewhere but don't want to put a lot of static calls to other random objects all over the place.

This technically "solves" T7477 (it changes "to" to "to + cc" for finding receivers) but doesn't yet implement proper behavior (with multiple receivers, for example).

Test Plan

Ran unit tests, which cover this pretty well. Additional changes will vet this more thoroughly.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable