mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
3560f3be5c
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
24 lines
605 B
Objective-C
24 lines
605 B
Objective-C
//
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import <SignalServiceKit/SSKJobRecord.h>
|
|
|
|
@class TSContactThread;
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface OWSSessionResetJobRecord : SSKJobRecord
|
|
|
|
@property (nonatomic, readonly) NSString *contactThreadId;
|
|
|
|
- (instancetype)initWithContactThread:(TSContactThread *)contactThread
|
|
label:(NSString *)label NS_DESIGNATED_INITIALIZER;
|
|
- (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
|
|
|
|
- (nullable)initWithLabel:(NSString *)label NS_UNAVAILABLE;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|