Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conpherence/mail/ConpherenceReplyHandler.php
| Show All 15 Lines | public function validateMailReceiver($mail_receiver) { | ||||
| if (!($mail_receiver instanceof ConpherenceThread)) { | if (!($mail_receiver instanceof ConpherenceThread)) { | ||||
| throw new Exception( | throw new Exception( | ||||
| pht( | pht( | ||||
| 'Mail receiver is not a %s!', ' | 'Mail receiver is not a %s!', ' | ||||
| ConpherenceThread')); | ConpherenceThread')); | ||||
| } | } | ||||
| } | } | ||||
| public function getPrivateReplyHandlerEmailAddress( | public function getPrivateReplyHandlerEmailAddress(PhabricatorUser $user) { | ||||
| PhabricatorObjectHandle $handle) { | return $this->getDefaultPrivateReplyHandlerEmailAddress($user, 'Z'); | ||||
| return $this->getDefaultPrivateReplyHandlerEmailAddress($handle, 'Z'); | |||||
| } | } | ||||
| public function getPublicReplyHandlerEmailAddress() { | public function getPublicReplyHandlerEmailAddress() { | ||||
| return $this->getDefaultPublicReplyHandlerEmailAddress('Z'); | return $this->getDefaultPublicReplyHandlerEmailAddress('Z'); | ||||
| } | } | ||||
| protected function receiveEmail(PhabricatorMetaMTAReceivedMail $mail) { | protected function receiveEmail(PhabricatorMetaMTAReceivedMail $mail) { | ||||
| $conpherence = $this->getMailReceiver(); | $conpherence = $this->getMailReceiver(); | ||||
| ▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines | |||||