mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-14 12:54:54 +00:00
Revert "Fixed mess regarding uid/realUID"
This reverts commit 4f303f8aa2.
This commit is contained in:
@@ -197,12 +197,8 @@
|
||||
// When the user is associated to a domain, the [SOGoUser login]
|
||||
// method returns the combination login@domain while
|
||||
// [SOGoUser loginInDomain] only returns the login.
|
||||
r = [realUID rangeOfString: domain options: NSBackwardsSearch|NSCaseInsensitiveSearch];
|
||||
|
||||
if (r.location != NSNotFound)
|
||||
uid = [realUID substringToIndex: r.location-1];
|
||||
else
|
||||
uid = [NSString stringWithString: realUID];
|
||||
uid = [NSString stringWithString: realUID];
|
||||
realUID = [NSString stringWithFormat: @"%@@%@", realUID, domain];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user