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;
|
profileKeyCredential?: string | null;
|
||||||
profileKeyCredentialExpiration?: number | null;
|
profileKeyCredentialExpiration?: number | null;
|
||||||
// TODO: DESKTOP-4223
|
|
||||||
pniCredential?: void;
|
|
||||||
lastProfile?: ConversationLastProfileType;
|
lastProfile?: ConversationLastProfileType;
|
||||||
quotedMessageId?: string | null;
|
quotedMessageId?: string | null;
|
||||||
sealedSender?: unknown;
|
sealedSender?: unknown;
|
||||||
|
|
|
@ -341,10 +341,6 @@ async function doGetProfile(c: ConversationModel): Promise<void> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isMe(c.attributes)) {
|
|
||||||
c.unset('pniCredential');
|
|
||||||
}
|
|
||||||
|
|
||||||
if (profile.identityKey) {
|
if (profile.identityKey) {
|
||||||
await updateIdentityKey(profile.identityKey, uuid);
|
await updateIdentityKey(profile.identityKey, uuid);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue