From f8c3bbc6f11f504d83d8bfd73338c469eba555ac Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Mon, 4 Nov 2024 17:07:05 -0800 Subject: [PATCH] Add recordIkm to generated ManifestRecord --- ts/services/storage.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ts/services/storage.ts b/ts/services/storage.ts index b8724260e86a..75c68d49ec3e 100644 --- a/ts/services/storage.ts +++ b/ts/services/storage.ts @@ -872,6 +872,9 @@ async function encryptManifest( manifestRecord.version = Long.fromNumber(version); manifestRecord.sourceDevice = window.storage.user.getDeviceId() ?? 0; manifestRecord.keys = Array.from(manifestRecordKeys); + if (recordIkm != null) { + manifestRecord.recordIkm = recordIkm; + } const storageKeyBase64 = window.storage.get('storageKey'); if (!storageKeyBase64) {