mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-15 12:56:41 +00:00
(fix) more multi-domain fixes and cleanups
This commit is contained in:
1 parent
e0c1d5e47b
commit
ed42d1e26b
2 files changed
+5
-5
No files matched your search
@@ -912,7 +912,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