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

Add subscriber mailtag to blog posts

Summary: For consistency, plus I ignore these. Ref T9897

Test Plan: Change to notify, log into notchad, subscribe, change back, see notification instead of email.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T9909, T9897

Differential Revision: https://secure.phabricator.com/D14676

authored by

Chad Little and committed by
chad
0ce373a0 eb439cf5

+6
+2
src/applications/phame/editor/PhamePostEditor.php
··· 237 237 return array( 238 238 PhamePostTransaction::MAILTAG_CONTENT => 239 239 pht("A post's content changes."), 240 + PhamePostTransaction::MAILTAG_SUBSCRIBERS => 241 + pht("A post's subscribers change."), 240 242 PhamePostTransaction::MAILTAG_COMMENT => 241 243 pht('Someone comments on a post.'), 242 244 PhamePostTransaction::MAILTAG_OTHER =>
+4
src/applications/phame/storage/PhamePostTransaction.php
··· 9 9 const TYPE_VISIBILITY = 'phame.post.visibility'; 10 10 11 11 const MAILTAG_CONTENT = 'phame-post-content'; 12 + const MAILTAG_SUBSCRIBERS = 'phame-post-subscribers'; 12 13 const MAILTAG_COMMENT = 'phame-post-comment'; 13 14 const MAILTAG_OTHER = 'phame-post-other'; 14 15 ··· 71 72 switch ($this->getTransactionType()) { 72 73 case PhabricatorTransactions::TYPE_COMMENT: 73 74 $tags[] = self::MAILTAG_COMMENT; 75 + break; 76 + case PhabricatorTransactions::TYPE_SUBSCRIBERS: 77 + $tags[] = self::MAILTAG_SUBSCRIBERS; 74 78 break; 75 79 case self::TYPE_TITLE: 76 80 case self::TYPE_PHAME_TITLE: