|
|
@ -31,6 +31,8 @@ extern NSString *const TSGroupThread_NotificationKey_UniqueId;
|
|
|
|
|
|
|
|
|
|
|
|
+ (NSString *)defaultGroupName;
|
|
|
|
+ (NSString *)defaultGroupName;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- (BOOL)isLocalUserInGroup;
|
|
|
|
|
|
|
|
|
|
|
|
// all group threads containing recipient as a member
|
|
|
|
// all group threads containing recipient as a member
|
|
|
|
+ (NSArray<TSGroupThread *> *)groupThreadsWithRecipientId:(NSString *)recipientId
|
|
|
|
+ (NSArray<TSGroupThread *> *)groupThreadsWithRecipientId:(NSString *)recipientId
|
|
|
|
transaction:(YapDatabaseReadWriteTransaction *)transaction;
|
|
|
|
transaction:(YapDatabaseReadWriteTransaction *)transaction;
|
|
|
@ -38,6 +40,10 @@ extern NSString *const TSGroupThread_NotificationKey_UniqueId;
|
|
|
|
- (void)leaveGroupWithSneakyTransaction;
|
|
|
|
- (void)leaveGroupWithSneakyTransaction;
|
|
|
|
- (void)leaveGroupWithTransaction:(YapDatabaseReadWriteTransaction *)transaction;
|
|
|
|
- (void)leaveGroupWithTransaction:(YapDatabaseReadWriteTransaction *)transaction;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- (void)softDeleteGroupThreadWithTransaction:(YapDatabaseReadWriteTransaction *)transaction;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#pragma mark - Avatar
|
|
|
|
|
|
|
|
|
|
|
|
- (void)updateAvatarWithAttachmentStream:(TSAttachmentStream *)attachmentStream;
|
|
|
|
- (void)updateAvatarWithAttachmentStream:(TSAttachmentStream *)attachmentStream;
|
|
|
|
- (void)updateAvatarWithAttachmentStream:(TSAttachmentStream *)attachmentStream
|
|
|
|
- (void)updateAvatarWithAttachmentStream:(TSAttachmentStream *)attachmentStream
|
|
|
|
transaction:(YapDatabaseReadWriteTransaction *)transaction;
|
|
|
|
transaction:(YapDatabaseReadWriteTransaction *)transaction;
|
|
|
|