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
F14758240: D19948.id47640.diff
Wed, Jan 22, 5:54 AM
Unknown Object (File)
Tue, Jan 21, 9:15 AM
Unknown Object (File)
Fri, Jan 17, 9:10 PM
Unknown Object (File)
Wed, Jan 8, 2:21 PM
Unknown Object (File)
Fri, Jan 3, 11:28 PM
Unknown Object (File)
Dec 21 2024, 5:07 PM
Unknown Object (File)
Dec 10 2024, 6:14 AM
Unknown Object (File)
Dec 2 2024, 3:55 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