aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/messenger/webview.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-17 01:38:50 +0530
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-17 01:38:50 +0530
commitfc58230e6d229acb0573fc10b6fc4fd451c87c9c (patch)
treef26a9b8abe0625da06c0d5d1216c8faa34be160c /recipes/messenger/webview.js
parentChanged license filename and the new license-holders (diff)
downloadferdium-recipes-fc58230e6d229acb0573fc10b6fc4fd451c87c9c.tar.gz
ferdium-recipes-fc58230e6d229acb0573fc10b6fc4fd451c87c9c.tar.zst
ferdium-recipes-fc58230e6d229acb0573fc10b6fc4fd451c87c9c.zip
Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2)
Diffstat (limited to 'recipes/messenger/webview.js')
-rw-r--r--recipes/messenger/webview.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/messenger/webview.js b/recipes/messenger/webview.js
index d2d85fe..45b4460 100644
--- a/recipes/messenger/webview.js
+++ b/recipes/messenger/webview.js
@@ -6,14 +6,14 @@ module.exports = Ferdi => {
6 6
7 /* 7 /*
8 * Notification case for group chats, workaround by tamas646 8 * Notification case for group chats, workaround by tamas646
9 * see https://github.com/getferdi/ferdi/issues/1113#issuecomment-783409154 9 * see https://github.com/ferdium/ferdium-app/issues/1113#issuecomment-783409154
10 */ 10 */
11 if (isNotification) { 11 if (isNotification) {
12 count = Ferdi.safeParseInt(/^\((\d+)\)/.exec(document.title)[1]); 12 count = Ferdi.safeParseInt(/^\((\d+)\)/.exec(document.title)[1]);
13 } else { 13 } else {
14 /* 14 /*
15 * Notification case for direct messages, workaround by manavortex 15 * Notification case for direct messages, workaround by manavortex
16 * see https://github.com/getferdi/ferdi/issues/1113#issuecomment-846611765 16 * see https://github.com/ferdium/ferdium-app/issues/1113#issuecomment-846611765
17 */ 17 */
18 count = document.querySelectorAll( 18 count = document.querySelectorAll(
19 '._5fx8:not(._569x),._1ht3:not(._569x)', 19 '._5fx8:not(._569x),._1ht3:not(._569x)',