mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-19 18:18:12 +00:00
Revert "Merge pull request #164 from Zentyal/jgarcia/revert-merge-inverse"
This reverts commit1404dbdb88, reversing changes made to72cbd9a45f.
This commit is contained in:
1 parent
0ce04fd4b6
commit
26bd1b30fa
41 files changed
+774
-291
No files matched your search
@@ -463,7 +463,7 @@
|
||||
if (!activeUserIsInDomain || ![uid isEqualToString: login])
|
||||
{
|
||||
jsonLine = [NSMutableArray arrayWithCapacity: 4];
|
||||
if ([domain length])
|
||||
if ([domain length] && [uid rangeOfString: @"@"].location == NSNotFound)
|
||||
uid = [NSString stringWithFormat: @"%@@%@", uid, domain];
|
||||
[jsonLine addObject: uid];
|
||||
[jsonLine addObject: [contact objectForKey: @"cn"]];
|
||||
|
||||
Reference in new issue
Block a user