mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
After provisioning a desktop client, you'll see messages sent from your phone appear on your desktop client, and messages sent from the desktop client appear on your phone. * In the process extracted some of the Attachment processing logic out of the giant MessagesManager. * Some nullability annotations on affected files. // FREEBIE
21 lines
655 B
Objective-C
21 lines
655 B
Objective-C
// Copyright © 2016 Open Whisper Systems. All rights reserved.
|
|
|
|
#import "OWSMessageServiceParams.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
/**
|
|
* Contstructs the per-device-message parameters used when submitting a message to
|
|
* the Signal Web Service. Using a legacy parameter format. Cannot be used for Sync messages.
|
|
*/
|
|
@interface OWSLegacyMessageServiceParams : OWSMessageServiceParams
|
|
|
|
- (instancetype)initWithType:(TSWhisperMessageType)type
|
|
recipientId:(NSString *)destination
|
|
device:(int)deviceId
|
|
body:(NSData *)body
|
|
registrationId:(int)registrationId;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|