(fix) use uid and not always-nil login value at this point

This commit is contained in:
Ludovic Marcotte
2016-05-09 15:09:48 -04:00
parent 8cf8ce86d7
commit 29e0799b11
+1 -1
View File
@@ -380,7 +380,7 @@ static Class NSNullK;
{
sd = [SOGoSystemDefaults sharedSystemDefaults];
if ([sd enableDomainBasedUID] &&
[login rangeOfString: @"@"].location == NSNotFound)
[uid rangeOfString: @"@"].location == NSNotFound)
{
// On multidomain environment we must use uid@domain
// for getEmailForUID method