back out part of fix for bug 308988, show sender only when different from from

git-svn-id: svn://10.0.0.236/trunk@185055 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bienvenu%nventure.com 2005-11-21 18:40:21 +00:00
parent a9cf8ecf05
commit cdcf175811

View File

@ -364,6 +364,7 @@ var messageHeaderSink = {
processHeaders: function(headerNameEnumerator, headerValueEnumerator, dontCollectAddress)
{
this.onStartHeaders();
var fromMailbox;
const kMailboxSeparator = ", ";
var index = 0;
@ -422,6 +423,9 @@ var messageHeaderSink = {
if (lowerCaseHeaderName == "from")
{
if (msgHeaderParser && header.headerValue)
fromMailbox = msgHeaderParser.extractHeaderAddressMailboxes(null, header.headerValue);
if (header.headerValue)
{
try