delete msg key fix

This commit is contained in:
Adhiraj Singh
2021-10-05 18:42:39 +05:30
parent 601c793fcd
commit 0406f4a9ba

View File

@@ -148,8 +148,8 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
case proto.ProtocolMessage.ProtocolMessageType.REVOKE:
ev.emit('messages.update', [
{
key: protocolMsg.key,
update: { message: null, messageStubType: WAMessageStubType.REVOKE, key: message.key }
key: message.key,
update: { message: null, messageStubType: WAMessageStubType.REVOKE, key: protocolMsg.key }
}
])
break