Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14091694
D21270.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
801 B
Referenced Files
None
Subscribers
None
D21270.diff
View Options
diff --git a/src/applications/differential/mail/DifferentialChangeDetailMailView.php b/src/applications/differential/mail/DifferentialChangeDetailMailView.php
--- a/src/applications/differential/mail/DifferentialChangeDetailMailView.php
+++ b/src/applications/differential/mail/DifferentialChangeDetailMailView.php
@@ -40,11 +40,13 @@
$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);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 26, 1:32 AM (7 h, 51 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6787672
Default Alt Text
D21270.diff (801 B)
Attached To
Mode
D21270: Update out-of-date API calls when rendering diffs inline in email
Attached
Detach File
Event Timeline
Log In to Comment