Fixes T7786. Adds very basic mailtag support.
- Maniphest Tasks
- T7786: Paste Notifications can't be set to ignore or email in preferences
- Restricted Diffusion Commit
rPca5909cac6c4: Add Mailtags to Paste
Tested changing language, title to a Paste, didn't get notifications on my test account.
I think we should separate "comment" out, but maybe lump "title" and "content" into a single category, and put "language" with "other"? So the options would be:
- Content is changed (title or body).
Particularly, my guess is that "comment" is much more interesting to separate out than "language".
...and then this one becomes PhabricatorPasteTransaction::MAILTAG_COMMENT
Oh, sorry -- you do need to add MAILTAG_COMMENT here...
case PhabricatorTransactions::TYPE_COMMENT: $tag = self::MAILTAG_COMMENT;