setViewer($viewer) ->withIDs(array($id)) ->needSubscriberPHIDs(true) ->needProjectPHIDs(true) ->execute(); return head($results); } protected function processReceivedObjectMail( PhabricatorMetaMTAReceivedMail $mail, PhabricatorLiskDAO $object, PhabricatorUser $sender) { $handler = PhabricatorEnv::newObjectFromConfig( 'metamta.maniphest.reply-handler'); $handler->setMailReceiver($object); $handler->setActor($sender); $handler->setExcludeMailRecipientPHIDs( $mail->loadExcludeMailRecipientPHIDs()); $handler->processEmail($mail); } }