From a319a63ff3cc70fa1bdc622ab967f2e71c17ff37 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 21 Jan 2026 19:36:00 +0000 Subject: [PATCH] fix: add missing await for mutationKeys in decodeSyncdMutations When hkdf became async, mutationKeys also became async but the call site wasn't updated. This caused Promise> instead of Promise, breaking contact sync events (contacts.upsert). Ref: WhiskeySockets/Baileys#2288 --- src/Utils/chat-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils/chat-utils.ts b/src/Utils/chat-utils.ts index 04cd8547..c03bd3c2 100644 --- a/src/Utils/chat-utils.ts +++ b/src/Utils/chat-utils.ts @@ -264,7 +264,7 @@ export const decodeSyncdMutations = async ( }) } - return mutationKeys(keyEnc.keyData!) + return await mutationKeys(keyEnc.keyData!) } }