Remove now-unnecessary data from prekey upload request

Co-authored-by: Fedor Indutnyy <indutny@signal.org>
This commit is contained in:
trevor-signal 2024-01-04 17:47:46 -05:00 committed by Scott Nonnenberg
parent dbc29037ce
commit a30f277276
3 changed files with 5 additions and 7 deletions

View file

@ -2373,7 +2373,6 @@ export function initialize({
};
type JSONKeysType = {
identityKey: string;
preKeys?: Array<JSONPreKeyType>;
pqPreKeys?: Array<JSONKyberPreKeyType>;
pqLastResortPreKey?: JSONKyberPreKeyType;
@ -2412,7 +2411,6 @@ export function initialize({
}
const keys: JSONKeysType = {
identityKey: Bytes.toBase64(genKeys.identityKey),
preKeys,
pqPreKeys,
pqLastResortPreKey: serializeSignedPreKey(genKeys.pqLastResortPreKey),