2017-09-13 21:35:33 +02:00
|
|
|
//
|
2019-02-20 15:11:43 +01:00
|
|
|
// Copyright (c) 2019 Open Whisper Systems. All rights reserved.
|
2017-09-13 21:35:33 +02:00
|
|
|
//
|
2016-10-05 17:42:44 +02:00
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
@class OWSIncomingSentMessageTranscript;
|
2019-02-20 15:43:30 +01:00
|
|
|
@class SSKProtoSyncMessageSentUpdate;
|
2016-10-14 23:00:29 +02:00
|
|
|
@class TSAttachmentStream;
|
2017-09-13 21:35:33 +02:00
|
|
|
@class YapDatabaseReadWriteTransaction;
|
2016-10-05 17:42:44 +02:00
|
|
|
|
2017-09-15 21:28:44 +02:00
|
|
|
// This job is used to process "outgoing message" notifications from linked devices.
|
2016-10-05 17:42:44 +02:00
|
|
|
@interface OWSRecordTranscriptJob : NSObject
|
|
|
|
|
|
|
|
- (instancetype)init NS_UNAVAILABLE;
|
|
|
|
|
2019-02-20 15:11:43 +01:00
|
|
|
+ (void)processIncomingSentMessageTranscript:(OWSIncomingSentMessageTranscript *)incomingSentMessageTranscript
|
2019-11-15 03:56:35 +01:00
|
|
|
serverID:(uint64_t)serverID
|
2019-02-20 15:11:43 +01:00
|
|
|
attachmentHandler:(void (^)(
|
|
|
|
NSArray<TSAttachmentStream *> *attachmentStreams))attachmentHandler
|
|
|
|
transaction:(YapDatabaseReadWriteTransaction *)transaction;
|
2016-10-05 17:42:44 +02:00
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|