diff options
Diffstat (limited to 'recipes/messenger')
-rw-r--r-- | recipes/messenger/package.json | 2 | ||||
-rw-r--r-- | recipes/messenger/webview.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/recipes/messenger/package.json b/recipes/messenger/package.json index 2d1cddc..d3a50a0 100644 --- a/recipes/messenger/package.json +++ b/recipes/messenger/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "messenger", | 2 | "id": "messenger", |
3 | "name": "Messenger", | 3 | "name": "Messenger", |
4 | "version": "1.3.3", | 4 | "version": "1.4.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://messenger.com", | 7 | "serviceURL": "https://messenger.com", |
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)', |