mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
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
This commit is contained in:
parent
eb439cf577
commit
0ce373a012
2 changed files with 6 additions and 0 deletions
|
@ -237,6 +237,8 @@ final class PhamePostEditor
|
||||||
return array(
|
return array(
|
||||||
PhamePostTransaction::MAILTAG_CONTENT =>
|
PhamePostTransaction::MAILTAG_CONTENT =>
|
||||||
pht("A post's content changes."),
|
pht("A post's content changes."),
|
||||||
|
PhamePostTransaction::MAILTAG_SUBSCRIBERS =>
|
||||||
|
pht("A post's subscribers change."),
|
||||||
PhamePostTransaction::MAILTAG_COMMENT =>
|
PhamePostTransaction::MAILTAG_COMMENT =>
|
||||||
pht('Someone comments on a post.'),
|
pht('Someone comments on a post.'),
|
||||||
PhamePostTransaction::MAILTAG_OTHER =>
|
PhamePostTransaction::MAILTAG_OTHER =>
|
||||||
|
|
|
@ -9,6 +9,7 @@ final class PhamePostTransaction
|
||||||
const TYPE_VISIBILITY = 'phame.post.visibility';
|
const TYPE_VISIBILITY = 'phame.post.visibility';
|
||||||
|
|
||||||
const MAILTAG_CONTENT = 'phame-post-content';
|
const MAILTAG_CONTENT = 'phame-post-content';
|
||||||
|
const MAILTAG_SUBSCRIBERS = 'phame-post-subscribers';
|
||||||
const MAILTAG_COMMENT = 'phame-post-comment';
|
const MAILTAG_COMMENT = 'phame-post-comment';
|
||||||
const MAILTAG_OTHER = 'phame-post-other';
|
const MAILTAG_OTHER = 'phame-post-other';
|
||||||
|
|
||||||
|
@ -72,6 +73,9 @@ final class PhamePostTransaction
|
||||||
case PhabricatorTransactions::TYPE_COMMENT:
|
case PhabricatorTransactions::TYPE_COMMENT:
|
||||||
$tags[] = self::MAILTAG_COMMENT;
|
$tags[] = self::MAILTAG_COMMENT;
|
||||||
break;
|
break;
|
||||||
|
case PhabricatorTransactions::TYPE_SUBSCRIBERS:
|
||||||
|
$tags[] = self::MAILTAG_SUBSCRIBERS;
|
||||||
|
break;
|
||||||
case self::TYPE_TITLE:
|
case self::TYPE_TITLE:
|
||||||
case self::TYPE_PHAME_TITLE:
|
case self::TYPE_PHAME_TITLE:
|
||||||
case self::TYPE_BODY:
|
case self::TYPE_BODY:
|
||||||
|
|
Loading…
Reference in a new issue