mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 06:20:56 +01:00
Improve threading of new and old Differential mail
Summary: Ref T2222. This should help new mail thread properly with old mail. Test Plan: Will push. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T2222 Differential Revision: https://secure.phabricator.com/D8367
This commit is contained in:
parent
e62c7321c2
commit
647d52f248
1 changed files with 6 additions and 0 deletions
|
@ -755,6 +755,12 @@ final class DifferentialTransactionEditor
|
|||
return PhabricatorEnv::getEnvConfig('metamta.differential.subject-prefix');
|
||||
}
|
||||
|
||||
protected function getMailThreadID(PhabricatorLiskDAO $object) {
|
||||
// This is nonstandard, but retains threading with older messages.
|
||||
$phid = $object->getPHID();
|
||||
return "differential-rev-{$phid}-req";
|
||||
}
|
||||
|
||||
protected function buildReplyHandler(PhabricatorLiskDAO $object) {
|
||||
return id(new DifferentialReplyHandler())
|
||||
->setMailReceiver($object);
|
||||
|
|
Loading…
Reference in a new issue