diff options
Diffstat (limited to 'recipes/mastodon')
-rw-r--r-- | recipes/mastodon/index.js | 4 | ||||
-rw-r--r-- | recipes/mastodon/package.json | 2 | ||||
-rw-r--r-- | recipes/mastodon/webview.js | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/recipes/mastodon/index.js b/recipes/mastodon/index.js index 14a7917..1dd93cc 100644 --- a/recipes/mastodon/index.js +++ b/recipes/mastodon/index.js | |||
@@ -1,5 +1,5 @@ | |||
1 | module.exports = (Franz) => { | 1 | module.exports = (Ferdi) => { |
2 | class Mastodon extends Franz { | 2 | class Mastodon extends Ferdi { |
3 | validateServer(URL) { | 3 | validateServer(URL) { |
4 | const api = `${URL}`; | 4 | const api = `${URL}`; |
5 | return new Promise((resolve, reject) => { | 5 | return new Promise((resolve, reject) => { |
diff --git a/recipes/mastodon/package.json b/recipes/mastodon/package.json index edcc561..825fbc5 100644 --- a/recipes/mastodon/package.json +++ b/recipes/mastodon/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "name": "Mastodon", | 2 | "name": "Mastodon", |
3 | "id": "mastodon", | 3 | "id": "mastodon", |
4 | "version": "1.1.4", | 4 | "version": "1.2.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "hasNotificationSound": true, | 7 | "hasNotificationSound": true, |
diff --git a/recipes/mastodon/webview.js b/recipes/mastodon/webview.js index 1abe7b4..b349220 100644 --- a/recipes/mastodon/webview.js +++ b/recipes/mastodon/webview.js | |||
@@ -1,4 +1,4 @@ | |||
1 | module.exports = (Franz, options) => { | 1 | module.exports = (Ferdi) => { |
2 | let latestStatement = $('.status time').attr('datetime'); | 2 | let latestStatement = $('.status time').attr('datetime'); |
3 | let latestNotify = $($('.notification__message span').get(0)).text(); | 3 | let latestNotify = $($('.notification__message span').get(0)).text(); |
4 | 4 | ||
@@ -21,8 +21,8 @@ module.exports = (Franz, options) => { | |||
21 | unread = 1; | 21 | unread = 1; |
22 | } | 22 | } |
23 | 23 | ||
24 | Franz.setBadge(reply, unread); | 24 | Ferdi.setBadge(reply, unread); |
25 | } | 25 | } |
26 | 26 | ||
27 | Franz.loop(getMessages); | 27 | Ferdi.loop(getMessages); |
28 | }; | 28 | }; |