mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-16 18:58:50 +00:00
(fix) don't skip last identity
This commit is contained in:
@@ -698,8 +698,6 @@
|
||||
replyTo = [_defaults mailReplyTo];
|
||||
|
||||
max = [mails count];
|
||||
if (max > 1)
|
||||
max--;
|
||||
|
||||
/* custom from */
|
||||
if ([[self domainDefaults] mailCustomFromEnabled])
|
||||
@@ -757,7 +755,7 @@
|
||||
[identities addObject: identity];
|
||||
|
||||
if ([[identity objectForKey: @"email"] caseInsensitiveCompare: defaultEmail] == NSOrderedSame)
|
||||
default_identity = [identities count]-1;
|
||||
default_identity = [identities count]-1;
|
||||
|
||||
[identity release];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user