Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15375178
D13245.id32019.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D13245.id32019.diff
View Options
diff --git a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
--- a/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
+++ b/src/applications/transactions/editor/PhabricatorApplicationTransactionEditor.php
@@ -936,14 +936,16 @@
$object,
$herald_xactions);
- $adapter = $this->getHeraldAdapter();
- $this->heraldEmailPHIDs = $adapter->getEmailPHIDs();
- $this->heraldForcedEmailPHIDs = $adapter->getForcedEmailPHIDs();
-
// Merge the new transactions into the transaction list: we want to
// send email and publish feed stories about them, too.
$xactions = array_merge($xactions, $herald_xactions);
}
+
+ // If Herald did not generate transactions, we may still need to handle
+ // "Send an Email" rules.
+ $adapter = $this->getHeraldAdapter();
+ $this->heraldEmailPHIDs = $adapter->getEmailPHIDs();
+ $this->heraldForcedEmailPHIDs = $adapter->getForcedEmailPHIDs();
}
$this->didApplyTransactions($xactions);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 13, 10:06 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7634523
Default Alt Text
D13245.id32019.diff (1 KB)
Attached To
Mode
D13245: Fix an issue where "Send an email to..." rules might be discarded
Attached
Detach File
Event Timeline
Log In to Comment