mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
fix: typo in ciphertext check
This commit is contained in:
@@ -32,7 +32,7 @@ const processMessage = async(
|
||||
) {
|
||||
chat.conversationTimestamp = toNumber(message.messageTimestamp)
|
||||
// only increment unread count if not CIPHERTEXT and from another person
|
||||
if(!message.key.fromMe && !!message.messageStubType) {
|
||||
if(!message.key.fromMe && !message.messageStubType) {
|
||||
chat.unreadCount = (chat.unreadCount || 0) + 1
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user