@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.

at recaptime-dev/main 38 lines 683 B view raw
1<?php 2 3final class PhabricatorUserNotifyTransaction 4 extends PhabricatorUserTransactionType { 5 6 const TRANSACTIONTYPE = 'notify'; 7 8 public function generateOldValue($object) { 9 return null; 10 } 11 12 public function generateNewValue($object, $value) { 13 return $value; 14 } 15 16 public function getTitle() { 17 return pht( 18 '%s sent this user a test notification.', 19 $this->renderAuthor()); 20 } 21 22 public function getTitleForFeed() { 23 return $this->getNewValue(); 24 } 25 26 public function shouldHideForNotifications() { 27 return false; 28 } 29 30 public function shouldHideForFeed() { 31 return true; 32 } 33 34 public function shouldHideForMail() { 35 return true; 36 } 37 38}