Fix contacts lookup by UID

When looking for a specific contact UID, we no longer match a pattern
that could return multiple results. We search for the exact UID only.
This commit is contained in:
Francis Lachapelle
2015-03-03 21:18:46 -05:00
parent 6192322513
commit 8e0849029e
4 changed files with 30 additions and 9 deletions
+3
View File
@@ -65,10 +65,13 @@
- (NSDictionary *) contactInfosForUserWithUIDorEmail: (NSString *) uid;
- (NSDictionary *) contactInfosForUserWithUIDorEmail: (NSString *) uid
inDomain: (NSString *) domain;
- (NSDictionary *) fetchContactWithUID: (NSString *) uid
inDomain: (NSString *) domain;
- (NSArray *) fetchContactsMatching: (NSString *) match
inDomain: (NSString *) domain;
- (NSArray *) fetchUsersMatching: (NSString *) filter
inDomain: (NSString *) domain;
- (NSArray *) _compactAndCompleteContacts: (NSEnumerator *) contacts;
- (NSString *) getCNForUID: (NSString *) uid;
- (NSString *) getEmailForUID: (NSString *) uid;