mirror of https://github.com/oxen-io/session-ios
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.
29 lines
814 B
C
29 lines
814 B
C
5 years ago
|
//
|
||
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
||
|
//
|
||
|
|
||
4 years ago
|
#import <SessionMessagingKit/TSInfoMessage.h>
|
||
5 years ago
|
|
||
|
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
|