Drop pniCredential completely

This commit is contained in:
Fedor Indutny
2022-12-14 10:53:23 -08:00
committed by GitHub
parent ebeb6a7a6d
commit 1dc3ed914f
2 changed files with 0 additions and 6 deletions

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

@@ -311,8 +311,6 @@ export type ConversationAttributesType = {
};
profileKeyCredential?: string | null;
profileKeyCredentialExpiration?: number | null;
// TODO: DESKTOP-4223
pniCredential?: void;
lastProfile?: ConversationLastProfileType;
quotedMessageId?: string | null;
sealedSender?: unknown;

View File

@@ -341,10 +341,6 @@ async function doGetProfile(c: ConversationModel): Promise<void> {
}
}
if (isMe(c.attributes)) {
c.unset('pniCredential');
}
if (profile.identityKey) {
await updateIdentityKey(profile.identityKey, uuid);
}