You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
//
|
|
|
|
// Copyright (c) 2019 Open Whisper Systems. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
@class OWSIncomingSentMessageTranscript;
|
|
|
|
@class SNProtoSyncMessageSentUpdate;
|
|
|
|
@class TSAttachmentStream;
|
|
|
|
@class YapDatabaseReadWriteTransaction;
|
|
|
|
|
|
|
|
// This job is used to process "outgoing message" notifications from linked devices.
|
|
|
|
@interface OWSRecordTranscriptJob : NSObject
|
|
|
|
|
|
|
|
- (instancetype)init NS_UNAVAILABLE;
|
|
|
|
|
|
|
|
+ (void)processIncomingSentMessageTranscript:(OWSIncomingSentMessageTranscript *)incomingSentMessageTranscript
|
|
|
|
serverID:(uint64_t)serverID
|
|
|
|
serverTimestamp:(uint64_t)serverTimestamp
|
|
|
|
attachmentHandler:(void (^)(
|
|
|
|
NSArray<TSAttachmentStream *> *attachmentStreams))attachmentHandler
|
|
|
|
transaction:(YapDatabaseReadWriteTransaction *)transaction;
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|