Path: blob/main/SignalServiceKit/Messages/OWSAddToContactsOfferMessage.m
1 views
//1// Copyright 2018 Signal Messenger, LLC2// SPDX-License-Identifier: AGPL-3.0-only3//45#import "OWSAddToContactsOfferMessage.h"67NS_ASSUME_NONNULL_BEGIN89// This is a deprecated class, we're keeping it around to avoid YapDB serialization errors10// TODO - remove this class, clean up existing instances, ensure any missed ones don't explode (UnknownDBObject)11#pragma clang diagnostic push12#pragma clang diagnostic ignored "-Wdeprecated-implementations"13@implementation OWSAddToContactsOfferMessage14#pragma clang diagnostic pop1516// --- CODE GENERATION MARKER1718// This snippet is generated by /Scripts/sds_codegen/sds_generate.py. Do not manually edit it, instead run19// `sds_codegen.sh`.202122// --- CODE GENERATION MARKER2324- (BOOL)shouldUseReceiptDateForSorting25{26// Use the timestamp, not the "received at" timestamp to sort,27// since we're creating these interactions after the fact and back-dating them.28return NO;29}3031- (BOOL)isDynamicInteraction32{33return YES;34}3536@end3738NS_ASSUME_NONNULL_END394041