mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 11:25:24 +00:00
Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd
Monotone-Revision: 2ad8b0c019808014c990f51cc69c4457fdb537c6 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-07-28T22:59:11 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -280,17 +280,17 @@ static NSArray *infoKeys = nil;
|
||||
SOGoMailAccounts *accounts;
|
||||
SOGoMailAccount *account;
|
||||
SOGoMailIdentity *identity;
|
||||
|
||||
|
||||
if (useLocationBasedSentFolder) /* from will be based on location */
|
||||
return;
|
||||
|
||||
|
||||
if ([self->from isNotEmpty]) /* a from is already set */
|
||||
return;
|
||||
|
||||
|
||||
accountID = [[[self context] request] formValueForKey:@"account"];
|
||||
if (![accountID isNotEmpty])
|
||||
return;
|
||||
|
||||
|
||||
accounts = [[self clientObject] mailAccountsFolder];
|
||||
if ([accounts isExceptionOrNull])
|
||||
return; /* we don't treat this as an error but are tolerant */
|
||||
@@ -306,7 +306,7 @@ static NSArray *infoKeys = nil;
|
||||
return;
|
||||
}
|
||||
|
||||
[self setFrom:[identity email]];
|
||||
[self setFrom: [identity email]];
|
||||
}
|
||||
|
||||
- (SOGoMailIdentity *)selectedMailIdentity {
|
||||
|
||||
Reference in New Issue
Block a user