mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix: do not send accountSignatureKey in retry
This commit is contained in:
@@ -77,7 +77,10 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
|
|||||||
|
|
||||||
const { account, signedPreKey, signedIdentityKey: identityKey } = authState.creds
|
const { account, signedPreKey, signedIdentityKey: identityKey } = authState.creds
|
||||||
|
|
||||||
const deviceIdentity = proto.ADVSignedDeviceIdentity.encode(account!).finish()
|
const deviceIdentity = proto.ADVSignedDeviceIdentity.encode({
|
||||||
|
...account,
|
||||||
|
accountSignatureKey: undefined
|
||||||
|
}).finish()
|
||||||
await authState.keys.transaction(
|
await authState.keys.transaction(
|
||||||
async() => {
|
async() => {
|
||||||
const receipt: BinaryNode = {
|
const receipt: BinaryNode = {
|
||||||
|
|||||||
Reference in New Issue
Block a user