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
Unknown Object (File)
Sun, Jan 26, 5:09 PM
Unknown Object (File)
Sat, Jan 25, 4:01 PM
Unknown Object (File)
Sat, Jan 25, 4:01 PM
Unknown Object (File)
Sat, Jan 25, 4:01 PM
Unknown Object (File)
Sat, Jan 25, 3:03 AM
Unknown Object (File)
Sat, Jan 25, 3:03 AM
Unknown Object (File)
Sat, Jan 25, 3:03 AM
Unknown Object (File)
Thu, Jan 23, 9:21 PM
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
Branch
mfa8
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 21473
Build 29248: Run Core Tests
Build 29247: arc lint + arc unit