fix delivery receipt

This commit is contained in:
Adhiraj Singh
2021-09-26 22:36:15 +05:30
parent a1aa17bc35
commit 91bbab54c4

View File

@@ -381,7 +381,7 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
}
ws.on('CB:receipt,type:read', handleReceipt)
ws.on('CB:ack,class:receipt', handleReceipt)
ws.on('CB:ack,class:message', handleReceipt)
ws.on('CB:notification', async(node: BinaryNode) => {
const sendAck = async() => {