mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-26 13:55:23 +00:00
Monotone-Parent: bdeecb17bba3ba4439fbdfd9d95154dcaf1b3e54
Monotone-Revision: 998f8668c2a6175352cb3f2d659db5aa04b0fa39 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-02-07T22:06:17 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
2008-02-07 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/SOGoUser.m ([SOGoUser -mailAccounts]): if the
|
||||
loginname for the default mail account contains an "@", it should
|
||||
be url-escaped to avoid confusing NSURL.
|
||||
|
||||
* SoObjects/SOGo/SOGoUserFolder.m ([-login]): removed useless
|
||||
method.
|
||||
([SOGoUserFolder -ownerInContext:_ctx]): compute the owner name
|
||||
|
||||
@@ -454,14 +454,16 @@ NSString *SOGoWeekStartFirstFullWeek = @"FirstFullWeek";
|
||||
{
|
||||
NSMutableDictionary *mailAccount, *identity;
|
||||
NSMutableArray *identities;
|
||||
NSString *name, *fullName;
|
||||
NSString *name, *fullName, *userName;
|
||||
NSArray *mails;
|
||||
unsigned int count, max;
|
||||
|
||||
mailAccount = [NSMutableDictionary dictionary];
|
||||
userName = [[login stringByReplacingString: @"@" withString: @"%40"]
|
||||
stringByEscapingURL];
|
||||
name = [NSString stringWithFormat: @"%@@%@",
|
||||
login, fallbackIMAP4Server];
|
||||
[mailAccount setObject: login forKey: @"userName"];
|
||||
userName, fallbackIMAP4Server];
|
||||
[mailAccount setObject: userName forKey: @"userName"];
|
||||
[mailAccount setObject: fallbackIMAP4Server forKey: @"serverName"];
|
||||
[mailAccount setObject: name forKey: @"name"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user