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
F13287612: D19948.diff
Tue, Jun 4, 9:01 AM
F13278020: D19948.diff
Fri, May 31, 5:52 PM
F13272688: D19948.id47620.diff
Thu, May 30, 5:35 PM
F13262062: D19948.diff
Mon, May 27, 1:44 AM
F13247800: D19948.id47620.diff
Thu, May 23, 10:35 PM
F13239322: D19948.id47640.diff
Wed, May 22, 1:54 AM
F13225008: D19948.id.diff
Sun, May 19, 12:45 PM
F13211667: D19948.diff
Fri, May 17, 5:58 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
Branch
mfa8
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 21473
Build 29248: Run Core Tests
Build 29247: arc lint + arc unit