From 4352a84498dc5c7b652693d4da3cf41423a96311 Mon Sep 17 00:00:00 2001 From: Adhiraj Singh Date: Sun, 6 Nov 2022 20:06:14 +0530 Subject: [PATCH] chore: log app state key recv --- src/Utils/process-message.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Utils/process-message.ts b/src/Utils/process-message.ts index b210665..e2b5c6d 100644 --- a/src/Utils/process-message.ts +++ b/src/Utils/process-message.ts @@ -150,6 +150,8 @@ const processMessage = async( const strKeyId = Buffer.from(keyId!.keyId!).toString('base64') newKeys.push(strKeyId) + logger?.trace({ strKeyId }, 'got app state sync key') + await keyStore.set({ 'app-state-sync-key': { [strKeyId]: keyData! } }) newAppStateSyncKeyId = strKeyId