2018-10-20 19:51:48 +02:00
|
|
|
//
|
|
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import "OWSSessionResetJobRecord.h"
|
2020-11-25 06:15:16 +01:00
|
|
|
#import <SessionMessagingKit/TSContactThread.h>
|
2018-10-20 19:51:48 +02:00
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
@implementation OWSSessionResetJobRecord
|
|
|
|
|
|
|
|
- (instancetype)initWithContactThread:(TSContactThread *)contactThread label:(NSString *)label
|
|
|
|
{
|
|
|
|
self = [super initWithLabel:label];
|
|
|
|
if (!self) {
|
|
|
|
return self;
|
|
|
|
}
|
|
|
|
|
|
|
|
_contactThreadId = contactThread.uniqueId;
|
|
|
|
|
|
|
|
return self;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (nullable instancetype)initWithCoder:(NSCoder *)coder
|
|
|
|
{
|
|
|
|
return [super initWithCoder:coder];
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|