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.
28 lines
743 B
Objective-C
28 lines
743 B
Objective-C
//
|
|
// GroupModel.h
|
|
// Signal
|
|
//
|
|
// Created by Frederic Jacobs.
|
|
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "TSYapDatabaseObject.h"
|
|
|
|
|
|
|
|
@interface TSGroupModel : TSYapDatabaseObject
|
|
|
|
@property (nonatomic, strong) NSMutableArray *groupMemberIds;
|
|
@property (nonatomic, strong) UIImage *groupImage;
|
|
@property (nonatomic, strong) NSString *groupName;
|
|
@property (nonatomic, strong) NSData* groupId;
|
|
|
|
- (instancetype)initWithTitle:(NSString*)title memberIds:(NSMutableArray*)members image:(UIImage*)image groupId:(NSData*)groupId;
|
|
|
|
- (BOOL)isEqual:(id)other;
|
|
- (BOOL)isEqualToGroupModel:(TSGroupModel *)model;
|
|
- (NSString*) getInfoStringAboutUpdateTo:(TSGroupModel*)model;
|
|
|
|
@end
|