mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-18 13:05:57 +00:00
fix(addressbook(dav)): add support for mail property in addressbook-query
Fixes #5489
This commit is contained in:
@@ -59,6 +59,7 @@
|
||||
Possible vCard properties are:
|
||||
|
||||
- EMAIL
|
||||
- MAIL
|
||||
- FN
|
||||
- N
|
||||
- ORG
|
||||
|
||||
@@ -341,7 +341,7 @@ Class SOGoContactSourceFolderK;
|
||||
folderWithName: name
|
||||
andDisplayName: srcDisplayName
|
||||
inContainer: self];
|
||||
[folder setSource: [um sourceWithID: name]];
|
||||
[(SOGoContactSourceFolder *)folder setSource: [um sourceWithID: name]];
|
||||
}
|
||||
domain = [domains nextObject];
|
||||
}
|
||||
|
||||
@@ -487,6 +487,7 @@ static NSArray *folderListingFields = nil;
|
||||
[self nameFields], @"fn",
|
||||
[self nameFields], @"n",
|
||||
@"c_mail", @"email",
|
||||
@"c_mail", @"mail",
|
||||
@"c_telephonenumber", @"tel",
|
||||
@"c_o", @"org",
|
||||
@"c_l", @"adr",
|
||||
|
||||
@@ -166,6 +166,7 @@
|
||||
isValid = ([newString isEqualToString: @"fn"]
|
||||
|| [newString isEqualToString: @"n"]
|
||||
|| [newString isEqualToString: @"email"]
|
||||
|| [newString isEqualToString: @"mail"]
|
||||
|| [newString isEqualToString: @"tel"]
|
||||
|| [newString isEqualToString: @"org"]
|
||||
|| [newString isEqualToString: @"adr"]);
|
||||
|
||||
@@ -930,6 +930,7 @@ groupObjectClasses: (NSArray *) newGroupObjectClasses
|
||||
@"cn", @"fn",
|
||||
@"cn", @"n",
|
||||
@"mail", @"email",
|
||||
@"mail", @"mail",
|
||||
@"telephonenumber", @"tel",
|
||||
@"o", @"org",
|
||||
@"l", @"adr",
|
||||
|
||||
@@ -743,6 +743,7 @@
|
||||
@"c_cn", @"fn",
|
||||
@"c_cn", @"n",
|
||||
@"mail", @"email",
|
||||
@"mail", @"mail",
|
||||
@"c_telephonenumber", @"tel",
|
||||
@"c_o", @"org",
|
||||
@"c_l", @"adr",
|
||||
|
||||
Reference in New Issue
Block a user