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<Promise<Key>> instead of
Promise<Key>, breaking contact sync events (contacts.upsert).

Ref: WhiskeySockets/Baileys#2288
This commit is contained in:
Claude
2026-01-21 19:36:00 +00:00
parent 29475018a3
commit a319a63ff3
+1 -1
View File
@@ -264,7 +264,7 @@ export const decodeSyncdMutations = async (
})
}
return mutationKeys(keyEnc.keyData!)
return await mutationKeys(keyEnc.keyData!)
}
}