mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-20 13:52:40 +01:00
Email paste link
Summary: Fixes T4878 Test Plan: 1. Go to paste 2. Add comment 3. Check that paste subsribers got paste link by email See T4878 for more details. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Maniphest Tasks: T4878 Differential Revision: https://secure.phabricator.com/D8861
This commit is contained in:
parent
7654df5d3b
commit
5e80901cec
1 changed files with 13 additions and 0 deletions
|
@ -157,6 +157,19 @@ final class PhabricatorPasteEditor
|
|||
->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) {
|
||||
|
|
Loading…
Reference in a new issue