Page MenuHomePhabricator

D8861.id21020.diff
No OneTemporary

D8861.id21020.diff

diff --git a/src/applications/paste/editor/PhabricatorPasteEditor.php b/src/applications/paste/editor/PhabricatorPasteEditor.php
--- a/src/applications/paste/editor/PhabricatorPasteEditor.php
+++ b/src/applications/paste/editor/PhabricatorPasteEditor.php
@@ -157,6 +157,19 @@
->addHeader('Thread-Topic', "P{$id}");
}
+ protected function buildMailBody(
+ PhabricatorLiskDAO $object,
+ array $xactions) {
+
+ $body = parent::buildMailBody($object, $xactions);
+
+ $body->addTextSection(
+ pht('PASTE DETAIL'),
+ PhabricatorEnv::getProductionURI('/P'.$object->getID()));
+
+ return $body;
+ }
+
protected function shouldPublishFeedStory(
PhabricatorLiskDAO $object,
array $xactions) {

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 10, 5:31 PM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6734602
Default Alt Text
D8861.id21020.diff (736 B)

Event Timeline