aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/aws-workmail
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/aws-workmail')
-rw-r--r--recipes/aws-workmail/index.js2
-rw-r--r--recipes/aws-workmail/package.json2
-rw-r--r--recipes/aws-workmail/webview.js6
3 files changed, 5 insertions, 5 deletions
diff --git a/recipes/aws-workmail/index.js b/recipes/aws-workmail/index.js
index 258da41..23607bd 100644
--- a/recipes/aws-workmail/index.js
+++ b/recipes/aws-workmail/index.js
@@ -1 +1 @@
module.exports = Franz => Franz; module.exports = Ferdi => Ferdi;
diff --git a/recipes/aws-workmail/package.json b/recipes/aws-workmail/package.json
index b916c29..5641f43 100644
--- a/recipes/aws-workmail/package.json
+++ b/recipes/aws-workmail/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "amazon-work-mail", 2 "id": "amazon-work-mail",
3 "name": "Amazon WorkMail", 3 "name": "Amazon WorkMail",
4 "version": "1.0.5", 4 "version": "1.1.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://{teamID}.awsapps.com/mail", 7 "serviceURL": "https://{teamID}.awsapps.com/mail",
diff --git a/recipes/aws-workmail/webview.js b/recipes/aws-workmail/webview.js
index c374b55..5c77d79 100644
--- a/recipes/aws-workmail/webview.js
+++ b/recipes/aws-workmail/webview.js
@@ -1,4 +1,4 @@
1module.exports = (Franz, options) => { 1module.exports = (Ferdi) => {
2 const reload = (EventType) => new Promise((resolve, reject) => { 2 const reload = (EventType) => new Promise((resolve, reject) => {
3 const btn = document.getElementsByClassName('giraffe-hierarchy-node-refresh')[0]; 3 const btn = document.getElementsByClassName('giraffe-hierarchy-node-refresh')[0];
4 const EventObject = document.createEvent('Events'); 4 const EventObject = document.createEvent('Events');
@@ -20,11 +20,11 @@ module.exports = (Franz, options) => {
20 counter += (node > 0) ? node : 0; 20 counter += (node > 0) ? node : 0;
21 } 21 }
22 22
23 Franz.setBadge(counter); 23 Ferdi.setBadge(counter);
24 }; 24 };
25 25
26 if (!window.location.pathname.includes('auth')) { 26 if (!window.location.pathname.includes('auth')) {
27 Franz.loop(getUnread); 27 Ferdi.loop(getUnread);
28 28
29 window.setInterval(() => { 29 window.setInterval(() => {
30 reload('click'); 30 reload('click');