Page MenuHomePhabricator

D10087.diff
No OneTemporary

D10087.diff

diff --git a/src/applications/differential/mail/DifferentialReplyHandler.php b/src/applications/differential/mail/DifferentialReplyHandler.php
--- a/src/applications/differential/mail/DifferentialReplyHandler.php
+++ b/src/applications/differential/mail/DifferentialReplyHandler.php
@@ -146,15 +146,21 @@
->setContent($body));
}
+ // NOTE: We have to be careful about this because Facebook's
+ // implementation jumps straight into handleAction() and will not have
+ // a PhabricatorMetaMTAReceivedMail object.
+ if ($this->receivedMail) {
+ $exclude = $this->receivedMail->getExcludeMailRecipientPHIDs();
+ } else {
+ $exclude = $this->getExcludeMailRecipientPHIDs();
+ }
+
$editor = id(new DifferentialTransactionEditor())
->setActor($actor)
- ->setExcludeMailRecipientPHIDs($this->getExcludeMailRecipientPHIDs())
+ ->setExcludeMailRecipientPHIDs($exclude)
->setContinueOnMissingFields(true)
->setContinueOnNoEffect(true);
- // NOTE: We have to be careful about this because Facebook's
- // implementation jumps straight into handleAction() and will not have
- // a PhabricatorMetaMTAReceivedMail object.
if ($this->receivedMail) {
$content_source = PhabricatorContentSource::newForSource(
PhabricatorContentSource::SOURCE_EMAIL,

File Metadata

Mime Type
text/plain
Expires
May 18 2024, 5:02 AM (4 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6274891
Default Alt Text
D10087.diff (1 KB)

Event Timeline