mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
delete msg key fix
This commit is contained in:
@@ -148,8 +148,8 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
|
|||||||
case proto.ProtocolMessage.ProtocolMessageType.REVOKE:
|
case proto.ProtocolMessage.ProtocolMessageType.REVOKE:
|
||||||
ev.emit('messages.update', [
|
ev.emit('messages.update', [
|
||||||
{
|
{
|
||||||
key: protocolMsg.key,
|
key: message.key,
|
||||||
update: { message: null, messageStubType: WAMessageStubType.REVOKE, key: message.key }
|
update: { message: null, messageStubType: WAMessageStubType.REVOKE, key: protocolMsg.key }
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user