diff options
Diffstat (limited to 'recipes/protonet')
-rwxr-xr-x | recipes/protonet/index.js | 2 | ||||
-rwxr-xr-x | recipes/protonet/package.json | 2 | ||||
-rwxr-xr-x | recipes/protonet/webview.js | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/recipes/protonet/index.js b/recipes/protonet/index.js index 258da41..23607bd 100755 --- a/recipes/protonet/index.js +++ b/recipes/protonet/index.js | |||
@@ -1 +1 @@ | |||
module.exports = Franz => Franz; | module.exports = Ferdi => Ferdi; | ||
diff --git a/recipes/protonet/package.json b/recipes/protonet/package.json index 75d2175..bc4554d 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.0.3", | 4 | "version": "1.1.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 1d81e99..9ada45a 100755 --- a/recipes/protonet/webview.js +++ b/recipes/protonet/webview.js | |||
@@ -1,10 +1,10 @@ | |||
1 | module.exports = (Franz, options) => { | 1 | module.exports = (Ferdi) => { |
2 | const getMessages = () => { | 2 | const getMessages = () => { |
3 | const unreadPrivateMessages = parseInt($('.messages .unread-meeps').text()); | 3 | const unreadPrivateMessages = parseInt($('.messages .unread-meeps').text()); |
4 | const unreadGroupMessages = parseInt($('.today .unread-meeps').text()); | 4 | const unreadGroupMessages = parseInt($('.today .unread-meeps').text()); |
5 | 5 | ||
6 | Franz.setBadge(unreadPrivateMessages + unreadGroupMessages); | 6 | Ferdi.setBadge(unreadPrivateMessages + unreadGroupMessages); |
7 | }; | 7 | }; |
8 | 8 | ||
9 | Franz.loop(getMessages); | 9 | Ferdi.loop(getMessages); |
10 | }; | 10 | }; |