aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/hangouts
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/hangouts')
-rw-r--r--recipes/hangouts/index.js2
-rw-r--r--recipes/hangouts/package.json2
-rw-r--r--recipes/hangouts/webview.js8
3 files changed, 6 insertions, 6 deletions
diff --git a/recipes/hangouts/index.js b/recipes/hangouts/index.js
index e2a5585..dd41f72 100644
--- a/recipes/hangouts/index.js
+++ b/recipes/hangouts/index.js
@@ -1 +1 @@
module.exports = (Ferdi) => class Hangouts extends Ferdi {}; module.exports = Ferdium => Ferdium;
diff --git a/recipes/hangouts/package.json b/recipes/hangouts/package.json
index 8e9f55f..e14f05e 100644
--- a/recipes/hangouts/package.json
+++ b/recipes/hangouts/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "hangouts", 2 "id": "hangouts",
3 "name": "Hangouts", 3 "name": "Hangouts",
4 "version": "1.2.1", 4 "version": "1.3.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://hangouts.google.com", 7 "serviceURL": "https://hangouts.google.com",
diff --git a/recipes/hangouts/webview.js b/recipes/hangouts/webview.js
index a87893d..f57864e 100644
--- a/recipes/hangouts/webview.js
+++ b/recipes/hangouts/webview.js
@@ -1,11 +1,11 @@
1module.exports = Ferdi => { 1module.exports = Ferdium => {
2 const getMessages = () => { 2 const getMessages = () => {
3 // get unread messages 3 // get unread messages
4 const count = document.querySelector('#hangout-landing-chat iframe').contentWindow.document.querySelectorAll('.ee').length; 4 const count = document.querySelector('#hangout-landing-chat iframe').contentWindow.document.querySelectorAll('.ee').length;
5 5
6 // set Ferdi badge 6 // set Ferdium badge
7 Ferdi.setBadge(count); 7 Ferdium.setBadge(count);
8 }; 8 };
9 9
10 Ferdi.loop(getMessages); 10 Ferdium.loop(getMessages);
11}; 11};