2017-05-16 17:26:01 +02:00
|
|
|
//
|
2018-02-07 18:44:09 +01:00
|
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
2017-05-16 17:26:01 +02:00
|
|
|
//
|
|
|
|
|
|
|
|
#import "TSUnreadIndicatorInteraction.h"
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
2018-10-03 23:41:43 +02:00
|
|
|
#pragma clang diagnostic push
|
|
|
|
#pragma clang diagnostic ignored "-Wdeprecated-implementations"
|
2017-05-16 17:26:01 +02:00
|
|
|
@implementation TSUnreadIndicatorInteraction
|
2018-10-03 23:41:43 +02:00
|
|
|
#pragma clang diagnostic pop
|
2017-05-16 17:26:01 +02:00
|
|
|
|
|
|
|
- (instancetype)initWithCoder:(NSCoder *)coder
|
|
|
|
{
|
|
|
|
return [super initWithCoder:coder];
|
|
|
|
}
|
|
|
|
|
2017-05-26 00:00:41 +02:00
|
|
|
- (BOOL)shouldUseReceiptDateForSorting
|
2017-05-16 17:26:01 +02:00
|
|
|
{
|
2017-05-26 00:00:41 +02:00
|
|
|
// Use the timestamp, not the "received at" timestamp to sort,
|
|
|
|
// since we're creating these interactions after the fact and back-dating them.
|
|
|
|
return NO;
|
2017-05-16 17:26:01 +02:00
|
|
|
}
|
|
|
|
|
2017-05-23 16:12:09 +02:00
|
|
|
- (BOOL)isDynamicInteraction
|
|
|
|
{
|
|
|
|
return YES;
|
|
|
|
}
|
|
|
|
|
2017-10-10 22:13:54 +02:00
|
|
|
- (OWSInteractionType)interactionType
|
|
|
|
{
|
2018-07-11 20:24:43 +02:00
|
|
|
return OWSInteractionType_Unknown;
|
2017-10-10 22:13:54 +02:00
|
|
|
}
|
|
|
|
|
2017-05-16 17:26:01 +02:00
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|