mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
774 B
C
27 lines
774 B
C
|
10 years ago
|
//
|
||
|
|
// TSContactThread.h
|
||
|
|
// TextSecureKit
|
||
|
|
//
|
||
|
|
// Created by Frederic Jacobs on 16/11/14.
|
||
|
|
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
|
||
|
|
//
|
||
|
|
|
||
|
|
#import <Foundation/Foundation.h>
|
||
|
|
|
||
|
|
#import "SignalRecipient.h"
|
||
|
|
#import "TSThread.h"
|
||
|
|
|
||
|
|
@class IncomingPushMessageSignal;
|
||
|
|
|
||
|
|
@interface TSContactThread : TSThread
|
||
|
|
|
||
|
|
+ (instancetype)getOrCreateThreadWithContactId:(NSString *)contactId
|
||
|
|
transaction:(YapDatabaseReadWriteTransaction *)transaction;
|
||
|
|
+ (instancetype)getOrCreateThreadWithContactId:(NSString *)contactId
|
||
|
|
transaction:(YapDatabaseReadWriteTransaction *)transaction
|
||
|
|
pushSignal:(IncomingPushMessageSignal *)pushSignal;
|
||
|
|
|
||
|
|
- (NSString *)contactIdentifier;
|
||
|
|
|
||
|
|
@end
|