2014-11-19 21:17:53 +01:00
|
|
|
//
|
|
|
|
// TSThread.m
|
|
|
|
// TextSecureKit
|
|
|
|
//
|
|
|
|
// Created by Frederic Jacobs on 16/11/14.
|
|
|
|
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import "TSThread.h"
|
|
|
|
#import "TSGroup.h"
|
|
|
|
|
|
|
|
@implementation TSThread
|
|
|
|
|
|
|
|
+ (NSString *)collection{
|
|
|
|
return @"TSThread";
|
|
|
|
}
|
|
|
|
|
|
|
|
- (instancetype)initWithUniqueId:(NSString *)uniqueId{
|
|
|
|
self = [super initWithUniqueId:uniqueId];
|
|
|
|
|
|
|
|
if (self) {
|
|
|
|
_blocked = NO;
|
|
|
|
}
|
|
|
|
|
|
|
|
return self;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (BOOL)isGroupThread{
|
|
|
|
NSAssert(false, @"An abstract method on TSThread was called.");
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2014-11-21 14:38:37 +01:00
|
|
|
- (uint64_t)lastMessageId{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (NSDate*)lastMessageDate{
|
|
|
|
return [NSDate date];
|
|
|
|
}
|
|
|
|
|
|
|
|
- (UIImage*)image{
|
|
|
|
return nil;
|
|
|
|
}
|
|
|
|
|
2014-11-19 21:17:53 +01:00
|
|
|
@end
|