diff options
Diffstat (limited to 'recipes/outlook')
-rw-r--r-- | recipes/outlook/index.js | 2 | ||||
-rw-r--r-- | recipes/outlook/package.json | 2 | ||||
-rw-r--r-- | recipes/outlook/webview.js | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/recipes/outlook/index.js b/recipes/outlook/index.js index 5c59e64..89568a6 100644 --- a/recipes/outlook/index.js +++ b/recipes/outlook/index.js | |||
@@ -1,5 +1,3 @@ | |||
1 | const os = require('os'); | ||
2 | |||
3 | module.exports = Ferdi => class Outlook extends Ferdi { | 1 | module.exports = Ferdi => class Outlook extends Ferdi { |
4 | overrideUserAgent() { | 2 | overrideUserAgent() { |
5 | return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').trim(); | 3 | return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').trim(); |
diff --git a/recipes/outlook/package.json b/recipes/outlook/package.json index f2224a0..103325b 100644 --- a/recipes/outlook/package.json +++ b/recipes/outlook/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "outlook", | 2 | "id": "outlook", |
3 | "name": "Outlook Web App", | 3 | "name": "Outlook Web App", |
4 | "version": "1.1.2", | 4 | "version": "1.2.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://outlook.live.com/mail/", | 7 | "serviceURL": "https://outlook.live.com/mail/", |
diff --git a/recipes/outlook/webview.js b/recipes/outlook/webview.js index cb63219..123158e 100644 --- a/recipes/outlook/webview.js +++ b/recipes/outlook/webview.js | |||
@@ -28,5 +28,6 @@ module.exports = Ferdi => { | |||
28 | 28 | ||
29 | Ferdi.setBadge(unreadMail); | 29 | Ferdi.setBadge(unreadMail); |
30 | } | 30 | } |
31 | |||
31 | Ferdi.loop(getMessages); | 32 | Ferdi.loop(getMessages); |
32 | }; | 33 | }; |