Differential D19920 Diff 47561 src/applications/transactions/replyhandler/PhabricatorApplicationTransactionReplyHandler.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/replyhandler/PhabricatorApplicationTransactionReplyHandler.php
Show First 20 Lines • Show All 101 Lines • ▼ Show 20 Lines | if ($this->shouldCreateCommentFromMailBody()) { | ||||
->getApplicationTransactionCommentObject() | ->getApplicationTransactionCommentObject() | ||||
->setContent($body); | ->setContent($body); | ||||
$xactions[] = $this->newTransaction() | $xactions[] = $this->newTransaction() | ||||
->setTransactionType(PhabricatorTransactions::TYPE_COMMENT) | ->setTransactionType(PhabricatorTransactions::TYPE_COMMENT) | ||||
->attachComment($comment); | ->attachComment($comment); | ||||
} | } | ||||
$target = $object->getApplicationTransactionObject(); | |||||
$this->newEditor($mail) | $this->newEditor($mail) | ||||
->setContinueOnNoEffect(true) | ->setContinueOnNoEffect(true) | ||||
->applyTransactions($target, $xactions); | ->applyTransactions($object, $xactions); | ||||
} | } | ||||
private function processMailCommands( | private function processMailCommands( | ||||
PhabricatorMetaMTAReceivedMail $mail, | PhabricatorMetaMTAReceivedMail $mail, | ||||
array $command_list) { | array $command_list) { | ||||
$viewer = $this->getActor(); | $viewer = $this->getActor(); | ||||
$object = $this->getMailReceiver(); | $object = $this->getMailReceiver(); | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |