2017-08-03 23:43:21 +02:00
|
|
|
//
|
2018-10-03 23:41:43 +02:00
|
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
2017-08-03 23:43:21 +02:00
|
|
|
//
|
|
|
|
|
|
|
|
#import "TSInfoMessage.h"
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
2018-10-03 23:41:43 +02:00
|
|
|
// This is a deprecated class, we're keeping it around to avoid YapDB serialization errors
|
|
|
|
// TODO - remove this class, clean up existing instances, ensure any missed ones don't explode (UnknownDBObject)
|
|
|
|
__attribute__((deprecated)) @interface OWSAddToProfileWhitelistOfferMessage : TSInfoMessage
|
2017-08-03 23:43:21 +02:00
|
|
|
|
2018-10-03 23:41:43 +02:00
|
|
|
+ (instancetype)addToProfileWhitelistOfferMessageWithTimestamp:(uint64_t)timestamp thread:(TSThread *)thread;
|
2017-08-03 23:43:21 +02:00
|
|
|
|
|
|
|
@property (nonatomic, readonly) NSString *contactId;
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|