From c476510ab55f35c90865f2a7f0f64569f36f5cc0 Mon Sep 17 00:00:00 2001 From: Adhiraj Singh Date: Thu, 2 Sep 2021 14:28:28 +0530 Subject: [PATCH] don't enforce unread count --- src/Connection/chats.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Connection/chats.ts b/src/Connection/chats.ts index 136a7bd..d23d0e8 100644 --- a/src/Connection/chats.ts +++ b/src/Connection/chats.ts @@ -244,9 +244,6 @@ const makeChatsSocket = (config: SocketConfig) => { sendChatsQuery, fetchImageUrl, chatRead: async(fromMessage: WAMessageKey, count: number) => { - if(count < 0) { - count = -2 - } await setQuery ( [ new BinaryNode(