aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mastodon
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mastodon')
-rw-r--r--recipes/mastodon/index.js4
-rw-r--r--recipes/mastodon/package.json2
-rw-r--r--recipes/mastodon/webview.js6
3 files changed, 6 insertions, 6 deletions
diff --git a/recipes/mastodon/index.js b/recipes/mastodon/index.js
index 9be0938..f849228 100644
--- a/recipes/mastodon/index.js
+++ b/recipes/mastodon/index.js
@@ -1,5 +1,5 @@
1module.exports = Ferdi => { 1module.exports = Ferdium => {
2 class Mastodon extends Ferdi { 2 class Mastodon extends Ferdium {
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 c77d834..83b42a0 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.2.1", 4 "version": "1.3.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 8fb448f..e34f284 100644
--- a/recipes/mastodon/webview.js
+++ b/recipes/mastodon/webview.js
@@ -1,4 +1,4 @@
1module.exports = Ferdi => { 1module.exports = Ferdium => {
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 = Ferdi => {
21 unread = 1; 21 unread = 1;
22 } 22 }
23 23
24 Ferdi.setBadge(reply, unread); 24 Ferdium.setBadge(reply, unread);
25 }; 25 };
26 26
27 Ferdi.loop(getMessages); 27 Ferdium.loop(getMessages);
28}; 28};