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:
parent
138ba87031
commit
f806528983
1 changed files with 6 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue