aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/protonet
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/protonet')
-rwxr-xr-xrecipes/protonet/index.js2
-rwxr-xr-xrecipes/protonet/package.json2
-rwxr-xr-xrecipes/protonet/webview.js10
3 files changed, 7 insertions, 7 deletions
diff --git a/recipes/protonet/index.js b/recipes/protonet/index.js
index 23607bd..dd41f72 100755
--- a/recipes/protonet/index.js
+++ b/recipes/protonet/index.js
@@ -1 +1 @@
module.exports = Ferdi => Ferdi; module.exports = Ferdium => Ferdium;
diff --git a/recipes/protonet/package.json b/recipes/protonet/package.json
index 80923de..a876339 100755
--- a/recipes/protonet/package.json
+++ b/recipes/protonet/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "protonet", 2 "id": "protonet",
3 "name": "protonet", 3 "name": "protonet",
4 "version": "1.1.1", 4 "version": "1.2.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://{teamID}.protonet.info", 7 "serviceURL": "https://{teamID}.protonet.info",
diff --git a/recipes/protonet/webview.js b/recipes/protonet/webview.js
index 497ee8c..4ec9f78 100755
--- a/recipes/protonet/webview.js
+++ b/recipes/protonet/webview.js
@@ -1,10 +1,10 @@
1module.exports = (Ferdi) => { 1module.exports = (Ferdium) => {
2 const getMessages = () => { 2 const getMessages = () => {
3 const unreadPrivateMessages = Ferdi.safeParseInt($('.messages .unread-meeps').text()); 3 const unreadPrivateMessages = Ferdium.safeParseInt($('.messages .unread-meeps').text());
4 const unreadGroupMessages = Ferdi.safeParseInt($('.today .unread-meeps').text()); 4 const unreadGroupMessages = Ferdium.safeParseInt($('.today .unread-meeps').text());
5 5
6 Ferdi.setBadge(unreadPrivateMessages + unreadGroupMessages); 6 Ferdium.setBadge(unreadPrivateMessages + unreadGroupMessages);
7 }; 7 };
8 8
9 Ferdi.loop(getMessages); 9 Ferdium.loop(getMessages);
10}; 10};