mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-01 08:29:45 +00:00
Revert "Revert "(fix) more multi-domain fixes and cleanups""
This reverts commit 90e11d76f6.
This commit is contained in:
@@ -922,7 +922,7 @@ static Class NSNullK;
|
||||
{
|
||||
// Remove the "@" prefix used to identified groups in the ACL tables.
|
||||
aUID = [uid hasPrefix: @"@"] ? [uid substringFromIndex: 1] : uid;
|
||||
if (domain)
|
||||
if (domain && [aUID rangeOfString: @"@"].location == NSNotFound)
|
||||
cacheUid = [NSString stringWithFormat: @"%@@%@", aUID, domain];
|
||||
else
|
||||
cacheUid = aUID;
|
||||
|
||||
Reference in New Issue
Block a user