session-ios/src/Messages/OWSSyncContactsMessage.h
Michael Kirk 98d1c59bfc Sync Contacts with Desktop
* TODO refactor attachment sending to work without thread/message
* TODO de-dupe attachment pointer building code

// FREEBIE
2016-09-02 12:29:43 -04:00

12 lines
408 B
Objective-C

// Copyright © 2016 Open Whisper Systems. All rights reserved.
#import "ContactsManagerProtocol.h"
#import "OWSOutgoingSyncMessage.h"
@interface OWSSyncContactsMessage : OWSOutgoingSyncMessage
- (instancetype)initWithContactsManager:(id<ContactsManagerProtocol>)contactsManager;
- (void)saveWithTransaction:(YapDatabaseReadWriteTransaction *)transaction;
- (NSData *)buildPlainTextAttachmentData;
@end