Allow requesting profile without profileKey

This commit is contained in:
Fedor Indutny
2022-03-09 12:23:21 -08:00
committed by GitHub
parent 80e445389f
commit 4a00ea46bc
7 changed files with 354 additions and 208 deletions

7
ts/model-types.d.ts vendored
View File

@@ -225,6 +225,11 @@ export type MessageAttributesType = {
export type ConversationAttributesTypeType = 'private' | 'group';
export type ConversationLastProfileType = Readonly<{
profileKey: string;
profileKeyVersion: string;
}>;
export type ConversationAttributesType = {
accessKey?: string | null;
addedBy?: string;
@@ -262,7 +267,7 @@ export type ConversationAttributesType = {
path: string;
};
profileKeyCredential?: string | null;
profileKeyVersion?: string | null;
lastProfile?: ConversationLastProfileType;
quotedMessageId?: string | null;
sealedSender?: unknown;
sentMessageCount: number;