@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Pavel Ivanov and committed by
epriestley
5e80901c 7654df5d

+13
+13
src/applications/paste/editor/PhabricatorPasteEditor.php
··· 157 157 ->addHeader('Thread-Topic', "P{$id}"); 158 158 } 159 159 160 + protected function buildMailBody( 161 + PhabricatorLiskDAO $object, 162 + array $xactions) { 163 + 164 + $body = parent::buildMailBody($object, $xactions); 165 + 166 + $body->addTextSection( 167 + pht('PASTE DETAIL'), 168 + PhabricatorEnv::getProductionURI('/P'.$object->getID())); 169 + 170 + return $body; 171 + } 172 + 160 173 protected function shouldPublishFeedStory( 161 174 PhabricatorLiskDAO $object, 162 175 array $xactions) {