mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-12 15:27:12 +00:00
System address is the first user's addresses
In the preferences module, we don't save the user's custom email address when it matches the system address. This address was considered the last of all the user's email addresses, which is first, not intuitive, and second, incorrect when composing a message since the first address is used by default. Fixes #3551
This commit is contained in:
1 parent
1039f13f55
commit
3eb01aef71
1 file changed
+1
-1
@@ -317,7 +317,7 @@
|
||||
if (!allEmails)
|
||||
[self _fetchAllEmails];
|
||||
|
||||
return [allEmails lastObject];
|
||||
return [allEmails objectAtIndex: 0];
|
||||
}
|
||||
|
||||
- (BOOL) hasEmail: (NSString *) email
|
||||
|
||||
Reference in new issue
Block a user