Page MenuHomePhabricator

Prepare revision mail for the "Draft" status
ClosedPublic

Authored by epriestley on Sep 18 2017, 9:48 PM.

Details

Summary

Ref T2543. Currently, we always do some special things when a revision is created, mostly adding more stuff to the mail.

With drafts, we want to suppress initial mail and send this big, rich mail only when the revision actually moves out of "draft".

Prepare the code for this, with the actual methods hard-coded to the current behavior. This will probably take some tweaking but I think I got most of it.

Test Plan

Banged around in Differential so it sent some mail, saw normal mail without anything new.

Diff Detail

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

Event Timeline

epriestley created this revision.Sep 18 2017, 9:48 PM
amckinley accepted this revision.Sep 18 2017, 11:52 PM
This revision is now accepted and ready to land.Sep 18 2017, 11:52 PM
This revision was automatically updated to reflect the committed changes.