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
F18867374: D19948.id.diff
Mon, Nov 3, 11:41 PM
F18863280: D19948.diff
Sun, Nov 2, 10:37 PM
F18822711: D19948.diff
Oct 23 2025, 8:06 AM
F18814151: D19948.diff
Oct 20 2025, 9:53 PM
F18809765: D19948.id47620.diff
Oct 19 2025, 4:43 PM
F18747558: D19948.diff
Oct 3 2025, 4:41 PM
F18743362: D19948.diff
Oct 2 2025, 11:22 PM
F18743194: D19948.diff
Oct 2 2025, 10:43 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable