session-ios/SignalUtilitiesKit/Messaging/TSUnreadIndicatorInteraction.m

39 lines
771 B
Mathematica
Raw Normal View History

2017-05-16 17:26:01 +02: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
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-implementations"
2017-05-16 17:26:01 +02:00
@implementation TSUnreadIndicatorInteraction
#pragma clang diagnostic pop
2017-05-16 17:26:01 +02:00
- (instancetype)initWithCoder:(NSCoder *)coder
{
return [super initWithCoder:coder];
}
- (BOOL)shouldUseReceiptDateForSorting
2017-05-16 17:26:01 +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
}
- (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