Monotone-Parent: 2a59bba0a73aaeebae8c13b21e4099f844924b1b

Monotone-Revision: 8fb969e757a4404632a8e53c60633563b80e39d4

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-06-16T17:50:37
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-06-16 17:50:37 +00:00
parent 030514e4e1
commit 01042ec50f
2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2010-06-16 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Mailer/SOGoDraftObject.m
(_purgeRecipients:fromAddresses:): we need to compare the email
addresses case-insensitively.
2010-06-15 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoDAVAuthenticator.m (-checkLogin:password:):

View File

@@ -444,7 +444,9 @@ static NSString *userAgent = nil;
for (count = max - 1; count >= 0; count--)
{
currentAddress = [addresses objectAtIndex: count];
if ([currentRecipient isEqualToString: [currentAddress baseEMail]])
if ([currentRecipient
caseInsensitiveCompare: [currentAddress baseEMail]]
== NSOrderedSame)
{
[addresses removeObjectAtIndex: count];
max--;