mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 06:18:50 +00:00
Reverted code that was causing issues with groups (#2090)
This commit is contained in:
@@ -790,12 +790,9 @@ static Class NSNullK;
|
||||
NSString *aUID, *cacheUid, *jsonUser;
|
||||
BOOL newUser;
|
||||
|
||||
/* TODO: we need to perform a better validity check on "uid" */
|
||||
|
||||
if ([uid isEqualToString: @"anonymous"])
|
||||
currentUser = [self _contactInfosForAnonymous];
|
||||
else if ([uid length] > 0
|
||||
&& [uid rangeOfString: @" "].location == NSNotFound)
|
||||
else if ([uid length] > 0)
|
||||
{
|
||||
// Remove the "@" prefix used to identified groups in the ACL tables.
|
||||
aUID = [uid hasPrefix: @"@"] ? [uid substringFromIndex: 1] : uid;
|
||||
|
||||
Reference in New Issue
Block a user