Skip to content
Snippets Groups Projects
Commit 59bda01a authored by Jared Hancock's avatar Jared Hancock
Browse files

Add newest references to the far right of the header

parent bfb943ce
No related branches found
No related tags found
No related merge requests found
......@@ -343,10 +343,10 @@ Class ThreadEntry {
function getEmailReferences() {
if (!isset($this->_references)) {
$this->_references = $this->getEmailMessageId();
$headers = self::getEmailHeaders();
if (isset($headers['References']))
$this->_references .= " ".$headers['References'];
if (isset($headers['References']) && $headers['References'])
$this->_references = $headers['References']." ";
$this->_references .= $this->getEmailMessageId();
}
return $this->_references;
}
......@@ -358,9 +358,6 @@ Class ThreadEntry {
$mid = substr_replace($this->getEmailMessageId(),
$ref, strpos($this->getEmailMessageId(), '@'), 0);
//TODO: Confirm how references are ordered on reply - we want the tagged
// reference to be processed first.
return sprintf('%s %s', $this->getEmailReferences(), $mid);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment