diff --git a/src/applications/differential/mail/DifferentialChangeDetailMailView.php b/src/applications/differential/mail/DifferentialChangeDetailMailView.php index d0f0be71b1..1f0eac537e 100644 --- a/src/applications/differential/mail/DifferentialChangeDetailMailView.php +++ b/src/applications/differential/mail/DifferentialChangeDetailMailView.php @@ -40,11 +40,13 @@ final class DifferentialChangeDetailMailView $diff = $this->getDiff(); $engine = new PhabricatorMarkupEngine(); + $viewstate = new PhabricatorChangesetViewState(); $out = array(); foreach ($diff->getChangesets() as $changeset) { $parser = id(new DifferentialChangesetParser()) - ->setUser($viewer) + ->setViewer($viewer) + ->setViewState($viewstate) ->setChangeset($changeset) ->setLinesOfContext(2) ->setMarkupEngine($engine);