mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 03:45:25 +00:00
Mantis 113: MailFieldNames are ignored when composing email with saved preferences
Monotone-Parent: fd4f04fce6a66b3dc14b58f9b67f93c6af6d450a Monotone-Revision: dc00d231986ac84ebf39553ae085b3efe0f8fae1 Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-08-20T20:33:57 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -569,14 +569,19 @@ static BOOL defaultShowSubscribedFoldersOnly = NO;
|
||||
|
||||
- (NSString *) signature
|
||||
{
|
||||
return [[user defaultIdentity] objectForKey: @"signature"];
|
||||
NSString *signature;
|
||||
|
||||
signature = [userDefaults stringForKey: @"MailSignature"];
|
||||
// Old style
|
||||
if (![signature length])
|
||||
signature = [[user defaultIdentity] objectForKey: @"signature"];
|
||||
|
||||
return signature;
|
||||
}
|
||||
|
||||
- (void) setSignature: (NSString *) newSignature
|
||||
{
|
||||
[[user defaultIdentity] setObject: newSignature
|
||||
forKey: @"signature"];
|
||||
[user saveMailAccounts];
|
||||
[userDefaults setObject: newSignature forKey: @"MailSignature"];
|
||||
}
|
||||
|
||||
- (NSArray *) replyPlacementList
|
||||
|
||||
Reference in New Issue
Block a user