mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
28 lines
828 B
C
28 lines
828 B
C
|
//
|
||
|
// ContactsManager+updater.h
|
||
|
// Signal
|
||
|
//
|
||
|
// Created by Frederic Jacobs on 21/11/15.
|
||
|
// Copyright © 2015 Open Whisper Systems. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import "SignalRecipient.h"
|
||
|
#import "ContactsManager.h"
|
||
|
|
||
|
@interface ContactsManager (updater)
|
||
|
|
||
|
#define NOTFOUND_ERROR 777404
|
||
|
|
||
|
- (void)intersectContacts;
|
||
|
- (void)synchronousLookup:(NSString*)identifier
|
||
|
success:(void (^)(SignalRecipient*))success
|
||
|
failure:(void (^)(NSError *error))failure;
|
||
|
|
||
|
- (void)lookupIdentifier:(NSString*)identifier
|
||
|
success:(void (^)(NSSet<NSString*> *matchedIds))success
|
||
|
failure:(void (^)(NSError *error))failure;
|
||
|
|
||
|
- (void)updateSignalContactIntersectionWithSuccess:(void (^)())success
|
||
|
failure:(void (^)(NSError *error))failure;
|
||
|
@end
|