mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-29 09:00:31 +00:00
@@ -700,9 +700,9 @@ static NSString *userAgent = nil;
|
||||
[self _addRecipients: [_envelope bcc] toArray: addrs];
|
||||
}
|
||||
|
||||
identity = nil;
|
||||
if ([addrs count])
|
||||
{
|
||||
identity = nil;
|
||||
for (i = 0; !identity && i < [addrs count]; i++)
|
||||
{
|
||||
email = [addrs objectAtIndex: i];
|
||||
@@ -713,7 +713,7 @@ static NSString *userAgent = nil;
|
||||
[_info setObject: [self _emailFromIdentity: identity] forKey: @"from"];
|
||||
}
|
||||
}
|
||||
else
|
||||
if (!identity)
|
||||
{
|
||||
identity = [[context activeUser] defaultIdentity];
|
||||
if (identity)
|
||||
|
||||
@@ -348,7 +348,7 @@
|
||||
NSString *defaultEmail;
|
||||
unsigned int count, max;
|
||||
|
||||
defaultEmail = [NSString stringWithFormat: @"%@@%@", [self loginInDomain], [self domain]];
|
||||
defaultEmail = [self systemEmail];
|
||||
defaultAccount = [[self mailAccounts] objectAtIndex: 0];
|
||||
defaultIdentity = nil;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user