1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

Allow the Herald Rule Editor to apply generic "Edge" transactions

Summary: Fixes T13469. Currently, "Mute" applies a generic edge transaction but the editor doesn't whitelist them.

Test Plan: Muted a Herald rule.

Maniphest Tasks: T13469

Differential Revision: https://secure.phabricator.com/D20943
This commit is contained in:
epriestley 2020-01-15 08:26:28 -08:00
parent 138ba87031
commit f806528983

View file

@ -30,6 +30,12 @@ final class HeraldRuleEditor
return true;
}
public function getTransactionTypes() {
$types = parent::getTransactionTypes();
$types[] = PhabricatorTransactions::TYPE_EDGE;
return $types;
}
protected function getMailTo(PhabricatorLiskDAO $object) {
$phids = array();