respect message ID

This commit is contained in:
Adhiraj Singh
2021-09-26 18:04:53 +05:30
parent 23101f87a1
commit 192f8705a7

View File

@@ -381,7 +381,7 @@ export const makeMessagesSocket = (config: SocketConfig) => {
upload: waUploadToServer
}
)
await relayMessage(jid, fullMsg.message)
await relayMessage(jid, fullMsg.message, options.messageId)
process.nextTick(() => {
ev.emit('messages.upsert', { messages: [fullMsg], type: 'append' })
})