mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix: tsc issue
This commit is contained in:
@@ -499,7 +499,7 @@ function append<E extends BufferableEvent>(
|
|||||||
const chatId = message.key.remoteJid!
|
const chatId = message.key.remoteJid!
|
||||||
const chat = data.chatUpdates[chatId] || data.chatUpserts[chatId]
|
const chat = data.chatUpdates[chatId] || data.chatUpserts[chatId]
|
||||||
if(
|
if(
|
||||||
isRealMessage(message)
|
isRealMessage(message, '')
|
||||||
&& shouldIncrementChatUnread(message)
|
&& shouldIncrementChatUnread(message)
|
||||||
&& typeof chat?.unreadCount === 'number'
|
&& typeof chat?.unreadCount === 'number'
|
||||||
&& chat.unreadCount > 0
|
&& chat.unreadCount > 0
|
||||||
|
|||||||
Reference in New Issue
Block a user