aboutsummaryrefslogtreecommitdiffstats
path: root/all.json
diff options
context:
space:
mode:
authorLibravatar Rui Gonçalves <rui@fb.com>2020-07-20 13:23:23 +0100
committerLibravatar Rui Gonçalves <rui@fb.com>2020-07-20 13:23:23 +0100
commit7b6f329b85912afab5d8576de26ed57f25230131 (patch)
tree5c06cea0fb54a934a22d94953be9707e9cfc226c /all.json
parentMerge pull request #217 from yann-soubeyrand/patch-1 (diff)
downloadferdium-recipes-7b6f329b85912afab5d8576de26ed57f25230131.tar.gz
ferdium-recipes-7b6f329b85912afab5d8576de26ed57f25230131.tar.zst
ferdium-recipes-7b6f329b85912afab5d8576de26ed57f25230131.zip
Add support for empty unread badges
Empty unread badges show up when people manually "Mark as Unread" chat threads. Currently, this stops notifications from appearing as counts become NaN. With this PR they will stop being counted (since we don't have message counts in those cases and it's not really a notification I think this is probably the best behavior, but I'm ok with defaulting to 1).
Diffstat (limited to 'all.json')
-rw-r--r--all.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/all.json b/all.json
index 3ab1923..314f7a8 100644
--- a/all.json
+++ b/all.json
@@ -1126,7 +1126,7 @@
1126 "featured": true, 1126 "featured": true,
1127 "id": "whatsapp", 1127 "id": "whatsapp",
1128 "name": "WhatsApp", 1128 "name": "WhatsApp",
1129 "version": "2.0.6", 1129 "version": "2.0.7",
1130 "icons": { 1130 "icons": {
1131 "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/whatsapp/icon.png", 1131 "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/whatsapp/icon.png",
1132 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/whatsapp/icon.svg" 1132 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/whatsapp/icon.svg"