diff --git a/recipes/whatsapp/webview.js b/recipes/whatsapp/webview.js index 89a023a90..c16761ad3 100644 --- a/recipes/whatsapp/webview.js +++ b/recipes/whatsapp/webview.js @@ -17,7 +17,7 @@ module.exports = Ferdium => { const query = store.getAll(); query.onsuccess = event => { for (const chat of event.target.result) { - if (chat.unreadCount > 0) { + if (chat.unreadCount > 0 && !chat.archive) { if (chat.muteExpiration != 0 || chat.isAutoMuted) { unreadMutedCount += chat.unreadCount; } else {