mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
TODO -[x] respect order of queue -[x] replacements -[x] those w/o completion handler -[x] basic send+log operation persists -[x] send+ui completion -[x] share extension -[x] update state jobs -[x] App Lifecyle -[x] settable -[x] Mark as ready on startup -[x] Fail appropriate jobs on startup NICE TO HAVE -[x] concurrent per senders -[ ] longer retry (e.g. 24hrs) -[ ] App Lifecyle -[x] retry failed jobs on startup? -[ ] reachability DONE -[x] basic passing test -[x] datamodel -[x] queue/classes
32 lines
602 B
Objective-C
32 lines
602 B
Objective-C
//
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import "OWSSessionResetJobRecord.h"
|
|
#import <SignalServiceKit/TSContactThread.h>
|
|
|
|
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
|