diff --git a/src/applications/audit/editor/PhabricatorAuditCommentEditor.php b/src/applications/audit/editor/PhabricatorAuditCommentEditor.php index d658a5a6df..60b8a7f878 100644 --- a/src/applications/audit/editor/PhabricatorAuditCommentEditor.php +++ b/src/applications/audit/editor/PhabricatorAuditCommentEditor.php @@ -284,4 +284,11 @@ final class PhabricatorAuditCommentEditor extends PhabricatorEditor { return array_keys($phids); } + public static function newReplyHandlerForCommit($commit) { + $reply_handler = PhabricatorEnv::newObjectFromConfig( + 'metamta.diffusion.reply-handler'); + $reply_handler->setMailReceiver($commit); + return $reply_handler; + } + }