diff options
Diffstat (limited to 'recipes/messenger/webview.js')
-rw-r--r-- | recipes/messenger/webview.js | 4 |
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)', |