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.
25 lines
721 B
Objective-C
25 lines
721 B
Objective-C
//
|
|
// TSGroupThread.h
|
|
// TextSecureKit
|
|
//
|
|
// Created by Frederic Jacobs on 16/11/14.
|
|
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import "TSGroupModel.h"
|
|
#import "TSThread.h"
|
|
|
|
@interface TSGroupThread : TSThread
|
|
|
|
@property (nonatomic, strong) TSGroupModel *groupModel;
|
|
|
|
+ (instancetype)getOrCreateThreadWithGroupModel:(TSGroupModel *)groupModel
|
|
transaction:(YapDatabaseReadWriteTransaction *)transaction;
|
|
|
|
+ (instancetype)getOrCreateThreadWithGroupIdData:(NSData *)groupId;
|
|
|
|
+ (instancetype)fetchWithGroupIdData:(NSData *)groupId;
|
|
+ (instancetype)threadWithGroupModel:(TSGroupModel *)groupModel transaction:(YapDatabaseReadTransaction *)transaction;
|
|
|
|
@end
|