mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-06 22:08:51 +00:00
Avoid appending the domain if already present.
This commit is contained in:
@@ -257,7 +257,7 @@
|
||||
grace: &grace])
|
||||
return nil;
|
||||
|
||||
if (domain)
|
||||
if (domain && [login rangeOfString: @"@"].location == NSNotFound)
|
||||
login = [NSString stringWithFormat: @"%@@%@", login, domain];
|
||||
|
||||
return login;
|
||||
|
||||
Reference in New Issue
Block a user