diff options
Diffstat (limited to 'recipes/hangoutschat')
-rw-r--r-- | recipes/hangoutschat/index.js | 2 | ||||
-rw-r--r-- | recipes/hangoutschat/package.json | 2 | ||||
-rw-r--r-- | recipes/hangoutschat/webview.js | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/recipes/hangoutschat/index.js b/recipes/hangoutschat/index.js index bd7fbe7..dd41f72 100644 --- a/recipes/hangoutschat/index.js +++ b/recipes/hangoutschat/index.js | |||
@@ -1 +1 @@ | |||
module.exports = Ferdi => class HangoutsChat extends Ferdi {}; | module.exports = Ferdium => Ferdium; | ||
diff --git a/recipes/hangoutschat/package.json b/recipes/hangoutschat/package.json index 57f6e13..1af0ff3 100644 --- a/recipes/hangoutschat/package.json +++ b/recipes/hangoutschat/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "hangoutschat", | 2 | "id": "hangoutschat", |
3 | "name": "Hangouts Chat", | 3 | "name": "Hangouts Chat", |
4 | "version": "1.5.1", | 4 | "version": "1.6.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "aliases": [ | 6 | "aliases": [ |
7 | "google-chat", | 7 | "google-chat", |
diff --git a/recipes/hangoutschat/webview.js b/recipes/hangoutschat/webview.js index e2e5912..98309fb 100644 --- a/recipes/hangoutschat/webview.js +++ b/recipes/hangoutschat/webview.js | |||
@@ -1,4 +1,4 @@ | |||
1 | module.exports = Ferdi => { | 1 | module.exports = Ferdium => { |
2 | // class corresponding to the red badge that is visible for direct messages | 2 | // class corresponding to the red badge that is visible for direct messages |
3 | const directMessageSelector = 'div.V6.CL.su.ahD.X9.Y2 span.akt span.XU'; | 3 | const directMessageSelector = 'div.V6.CL.su.ahD.X9.Y2 span.akt span.XU'; |
4 | 4 | ||
@@ -23,11 +23,11 @@ module.exports = Ferdi => { | |||
23 | indirectCount = Number(indirectCountSelector.textContent); | 23 | indirectCount = Number(indirectCountSelector.textContent); |
24 | } | 24 | } |
25 | 25 | ||
26 | // set Ferdi badge | 26 | // set Ferdium badge |
27 | Ferdi.setBadge(directCount, indirectCount); | 27 | Ferdium.setBadge(directCount, indirectCount); |
28 | }; | 28 | }; |
29 | 29 | ||
30 | Ferdi.loop(getMessages); | 30 | Ferdium.loop(getMessages); |
31 | 31 | ||
32 | document.addEventListener('click', e => { | 32 | document.addEventListener('click', e => { |
33 | // @ts-ignore | 33 | // @ts-ignore |