Drop pniCredential completely
This commit is contained in:
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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user