mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-01 11:47:19 +00:00
(fix) avoid crash when replying to a mail with no recipients (#3359)
This commit is contained in:
@@ -699,7 +699,8 @@ static NSString *userAgent = nil;
|
||||
for (count = max - 1; count >= 0; count--)
|
||||
{
|
||||
currentAddress = [addresses objectAtIndex: count];
|
||||
if ([currentRecipient
|
||||
if (![currentAddress baseEMail] ||
|
||||
[currentRecipient
|
||||
caseInsensitiveCompare: [currentAddress baseEMail]]
|
||||
== NSOrderedSame)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user