Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15451114
D21270.id.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.id.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
Sat, Mar 29, 8:12 PM (3 d, 13 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7342485
Default Alt Text
D21270.id.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