Commit f8065289 authored by epriestley's avatar epriestley
Browse files

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
parent 138ba870
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment