mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
9e8ba91304
- Renames GroupModel to TSGroupModel for TextSecureKit consistency. - Refactors the settings into categories (joint work with @dtsbourg) - Removes settings and logic for background push.
21 lines
656 B
Objective-C
21 lines
656 B
Objective-C
//
|
|
// TSGroupThread.h
|
|
// TextSecureKit
|
|
//
|
|
// Created by Frederic Jacobs on 16/11/14.
|
|
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import "TSThread.h"
|
|
#import "TSGroupModel.h"
|
|
|
|
@interface TSGroupThread : TSThread
|
|
@property (nonatomic,strong) TSGroupModel* groupModel;
|
|
+ (instancetype)getOrCreateThreadWithGroupModel:(TSGroupModel *)groupModel transaction:(YapDatabaseReadWriteTransaction*)transaction;
|
|
|
|
+ (instancetype)threadWithGroupModel:(TSGroupModel *)groupModel transaction:(YapDatabaseReadTransaction*)transaction;
|
|
- (NSData*)groupId;
|
|
- (NSArray *)recipientsWithTransaction:(YapDatabaseReadTransaction*)transaction;
|
|
|
|
@end
|