chore: log app state key recv

This commit is contained in:
Adhiraj Singh
2022-11-06 20:06:14 +05:30
parent 2a8ce563a2
commit 4352a84498

View File

@@ -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