mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix: possible typeerror
This commit is contained in:
@@ -553,7 +553,7 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
|
||||
!!msg.message ||
|
||||
(msg.messageStubType === WAMessageStubType.CIPHERTEXT && treatCiphertextMessagesAsReal)
|
||||
)
|
||||
&& !msg.message!.protocolMessage
|
||||
&& !msg.message?.protocolMessage
|
||||
) {
|
||||
chat.conversationTimestamp = toNumber(msg.messageTimestamp)
|
||||
if(!msg.key.fromMe) {
|
||||
|
||||
Reference in New Issue
Block a user