Drop pniCredential completely
This commit is contained in:
parent
ebeb6a7a6d
commit
1dc3ed914f
2 changed files with 0 additions and 6 deletions
2
ts/model-types.d.ts
vendored
2
ts/model-types.d.ts
vendored
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue