mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
5671fd2520
This reverts commit ebae75af00
.
28 lines
794 B
Objective-C
28 lines
794 B
Objective-C
//
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import "TSInfoMessage.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@class OWSDisappearingMessagesConfiguration;
|
|
@class TSThread;
|
|
|
|
@interface OWSDisappearingConfigurationUpdateInfoMessage : TSInfoMessage
|
|
|
|
@property (nonatomic, readonly) BOOL configurationIsEnabled;
|
|
|
|
/**
|
|
* @param remoteName is nil when created by the local user
|
|
*/
|
|
// MJK TODO - can we remove sendertimestamp here
|
|
- (instancetype)initWithTimestamp:(uint64_t)timestamp
|
|
thread:(TSThread *)thread
|
|
configuration:(OWSDisappearingMessagesConfiguration *)configuration
|
|
createdByRemoteName:(nullable NSString *)remoteName
|
|
createdInExistingGroup:(BOOL)createdInExistingGroup;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|