aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/whatsapp/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/whatsapp/webview.js')
-rw-r--r--recipes/whatsapp/webview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/whatsapp/webview.js b/recipes/whatsapp/webview.js
index 26f2a3a..89a023a 100644
--- a/recipes/whatsapp/webview.js
+++ b/recipes/whatsapp/webview.js
@@ -18,7 +18,7 @@ module.exports = Ferdium => {
18 query.onsuccess = event => { 18 query.onsuccess = event => {
19 for (const chat of event.target.result) { 19 for (const chat of event.target.result) {
20 if (chat.unreadCount > 0) { 20 if (chat.unreadCount > 0) {
21 if (chat.muteExpiration > 0 || chat.isAutoMuted) { 21 if (chat.muteExpiration != 0 || chat.isAutoMuted) {
22 unreadMutedCount += chat.unreadCount; 22 unreadMutedCount += chat.unreadCount;
23 } else { 23 } else {
24 unreadCount += chat.unreadCount; 24 unreadCount += chat.unreadCount;