From 3fb4ca2429b78210f667d99fa3886429e42137f6 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Fri, 26 May 2017 18:54:21 -0700 Subject: [PATCH] Add needActiveDiffs to differential.createcomment method Summary: Ref T12766. Adds missing attachment for stacking actions in differential Test Plan: Asked end user to verify patch. Reviewers: epriestley, amckinley Reviewed By: epriestley, amckinley Subscribers: reed, Korvin Maniphest Tasks: T12766 Differential Revision: https://secure.phabricator.com/D18038 --- .../conduit/DifferentialCreateCommentConduitAPIMethod.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/applications/differential/conduit/DifferentialCreateCommentConduitAPIMethod.php b/src/applications/differential/conduit/DifferentialCreateCommentConduitAPIMethod.php index 52736d6f3b..943c3e7702 100644 --- a/src/applications/differential/conduit/DifferentialCreateCommentConduitAPIMethod.php +++ b/src/applications/differential/conduit/DifferentialCreateCommentConduitAPIMethod.php @@ -49,6 +49,7 @@ final class DifferentialCreateCommentConduitAPIMethod ->withIDs(array($request->getValue('revision_id'))) ->needReviewers(true) ->needReviewerAuthority(true) + ->needActiveDiffs(true) ->executeOne(); if (!$revision) { throw new ConduitException('ERR_BAD_REVISION');