Page MenuHomePhabricator

Consolidate some application email receiver code in preparation for API changes

Authored by epriestley on Jan 3 2019, 5:56 PM.



Ref T7477. The various "create a new X via email" applications (Paste, Differential, Maniphest, etc) all have a bunch of duplicate code.

The inheritance stack here is generally a little weird. Extend these from a shared parent to reduce the number of callsites I need to change when this API is adjusted for T7477.

Test Plan

Ran unit tests. This will get more thorough testing once more pieces are in place.

Diff Detail

rP Phabricator
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

epriestley created this revision.Jan 3 2019, 5:56 PM
epriestley requested review of this revision.Jan 3 2019, 5:58 PM
amckinley accepted this revision.Jan 4 2019, 12:01 AM
This revision is now accepted and ready to land.Jan 4 2019, 12:01 AM
This revision was automatically updated to reflect the committed changes.