mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
feat: move upsertMessage in processingMutex
This commit is contained in:
@@ -474,12 +474,12 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cleanMessage(msg, authState.creds.me!.id)
|
cleanMessage(msg, authState.creds.me!.id)
|
||||||
|
|
||||||
|
await upsertMessage(msg, node.attrs.offline ? 'append' : 'notify')
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
sendMessageAck(node)
|
sendMessageAck(node)
|
||||||
])
|
])
|
||||||
|
|
||||||
await upsertMessage(msg, node.attrs.offline ? 'append' : 'notify')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const handleCall = async(node: BinaryNode) => {
|
const handleCall = async(node: BinaryNode) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user