fix processMessage unexpected error (#1401)

This commit is contained in:
Ezequiel José Oliveira
2022-03-22 23:41:21 -03:00
committed by GitHub
parent 9fee7faaf6
commit f773a32da8
2 changed files with 2 additions and 2 deletions

View File

@@ -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,