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