Storage service: save new AccountRecord fields to disk
This commit is contained in:
parent
6cfb3c9867
commit
a7c78b3b23
5 changed files with 141 additions and 13 deletions
10
ts/textsecure.d.ts
vendored
10
ts/textsecure.d.ts
vendored
|
@ -1107,8 +1107,16 @@ export declare class PinnedConversationClass {
|
|||
groupMasterKey?: ProtoBinaryType;
|
||||
}
|
||||
|
||||
declare enum AccountRecordPhoneNumberSharingMode {
|
||||
EVERYBODY = 0,
|
||||
CONTACTS_ONLY = 1,
|
||||
NOBODY = 2,
|
||||
}
|
||||
|
||||
export declare class AccountRecordClass {
|
||||
static PhoneNumberSharingMode: typeof AccountRecordPhoneNumberSharingMode;
|
||||
static PinnedConversation: typeof PinnedConversationClass;
|
||||
|
||||
static decode: (
|
||||
data: ArrayBuffer | ByteBufferClass,
|
||||
encoding?: string
|
||||
|
@ -1124,6 +1132,8 @@ export declare class AccountRecordClass {
|
|||
sealedSenderIndicators?: boolean | null;
|
||||
typingIndicators?: boolean | null;
|
||||
linkPreviews?: boolean | null;
|
||||
phoneNumberSharingMode?: AccountRecordPhoneNumberSharingMode;
|
||||
notDiscoverableByPhoneNumber?: boolean;
|
||||
pinnedConversations?: PinnedConversationClass[];
|
||||
noteToSelfMarkedUnread?: boolean;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue