mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix processMessage unexpected error (#1401)
This commit is contained in:
committed by
GitHub
parent
9fee7faaf6
commit
f773a32da8
@@ -203,7 +203,7 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
|
||||
chatUpdate.ephemeralExpiration = protocolMsg.ephemeralExpiration || null
|
||||
break
|
||||
}
|
||||
} else if(content.reactionMessage) {
|
||||
} else if(content?.reactionMessage) {
|
||||
const reaction: proto.IReaction = {
|
||||
...content.reactionMessage,
|
||||
key: message.key,
|
||||
|
||||
Reference in New Issue
Block a user