From 411d11670fad61b631bc4ecb4d4e0de5875b47b2 Mon Sep 17 00:00:00 2001 From: "scott%scott-macgregor.org" Date: Wed, 14 Apr 2004 21:14:15 +0000 Subject: [PATCH] Bug #231742 --> Identity smart logic is case sensitive....normalize the email addresses from the message we are using when comparing to our identity addresses. --- mail/base/content/mailCommands.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mail/base/content/mailCommands.js b/mail/base/content/mailCommands.js index 231cc290aab..32c8288f905 100644 --- a/mail/base/content/mailCommands.js +++ b/mail/base/content/mailCommands.js @@ -70,6 +70,8 @@ function getBestIdentity(identities, optionalHint) // if we have more than one identity and a hint to help us pick one if (identities.Count() > 1 && optionalHint) { + // normalize case on the optional hint to improve our chances of finding a match + optionalHint = optionalHint.toLowerCase(); // iterate over all of the identities var tempID; for (id = 0; id < identities.Count(); id++) {