Don't display inline comment's Reply in standalone view
Summary: NOTE: This is starting to be too hacky. Test Plan: View revision with inline diffs, verify that Reply is there. View standalone - no Reply. Reviewers: epriestley Reviewed By: epriestley CC: aran, Koolvin Differential Revision: https://secure.phabricator.com/D2263
This commit is contained in:
@@ -1497,6 +1497,7 @@ final class DifferentialChangesetParser {
|
||||
$edit = $user &&
|
||||
($comment->getAuthorPHID() == $user->getPHID()) &&
|
||||
($comment->isDraft());
|
||||
$allow_reply = (bool)$this->user;
|
||||
|
||||
$on_right = $this->isCommentOnRightSideWhenDisplayed($comment);
|
||||
|
||||
@@ -1506,6 +1507,7 @@ final class DifferentialChangesetParser {
|
||||
->setHandles($this->handles)
|
||||
->setMarkupEngine($this->markupEngine)
|
||||
->setEditable($edit)
|
||||
->setAllowReply($allow_reply)
|
||||
->render();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user