Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
signalapp
GitHub Repository: signalapp/Signal-iOS
Path: blob/main/SignalServiceKit/Messages/OWSAddToContactsOfferMessage.m
1 views
1
//
2
// Copyright 2018 Signal Messenger, LLC
3
// SPDX-License-Identifier: AGPL-3.0-only
4
//
5
6
#import "OWSAddToContactsOfferMessage.h"
7
8
NS_ASSUME_NONNULL_BEGIN
9
10
// This is a deprecated class, we're keeping it around to avoid YapDB serialization errors
11
// TODO - remove this class, clean up existing instances, ensure any missed ones don't explode (UnknownDBObject)
12
#pragma clang diagnostic push
13
#pragma clang diagnostic ignored "-Wdeprecated-implementations"
14
@implementation OWSAddToContactsOfferMessage
15
#pragma clang diagnostic pop
16
17
// --- CODE GENERATION MARKER
18
19
// This snippet is generated by /Scripts/sds_codegen/sds_generate.py. Do not manually edit it, instead run
20
// `sds_codegen.sh`.
21
22
23
// --- CODE GENERATION MARKER
24
25
- (BOOL)shouldUseReceiptDateForSorting
26
{
27
// Use the timestamp, not the "received at" timestamp to sort,
28
// since we're creating these interactions after the fact and back-dating them.
29
return NO;
30
}
31
32
- (BOOL)isDynamicInteraction
33
{
34
return YES;
35
}
36
37
@end
38
39
NS_ASSUME_NONNULL_END
40
41