1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 14:52:41 +01:00

fix mail handler for conpherence try 2

Summary: the editor methods are protected so just build a reply handler directly

Test Plan: push it live and try again

Reviewers: epriestley, chad

Reviewed By: chad

CC: aran, Korvin

Maniphest Tasks: T2399

Differential Revision: https://secure.phabricator.com/D4670
This commit is contained in:
Bob Trahan 2013-01-26 10:49:20 -08:00
parent ab80d52290
commit 3f91559b8a

View file

@ -290,9 +290,8 @@ final class PhabricatorMetaMTAReceivedMail extends PhabricatorMetaMTADAO {
$handler = PhabricatorAuditCommentEditor::newReplyHandlerForCommit( $handler = PhabricatorAuditCommentEditor::newReplyHandlerForCommit(
$receiver); $receiver);
} else if ($receiver instanceof ConpherenceThread) { } else if ($receiver instanceof ConpherenceThread) {
$handler = id(new ConpherenceEditor()) $handler = id(new ConpherenceReplyHandler())
->setActor($user) ->setMailReceiver($receiver);
->buildReplyHandler($receiver);
} }
$handler->setActor($user); $handler->setActor($user);