aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/misskey
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/misskey')
-rw-r--r--recipes/misskey/package.json2
-rw-r--r--recipes/misskey/webview.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/misskey/package.json b/recipes/misskey/package.json
index 66bdd3c..056e9b6 100644
--- a/recipes/misskey/package.json
+++ b/recipes/misskey/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "misskey", 2 "id": "misskey",
3 "name": "Misskey", 3 "name": "Misskey",
4 "version": "1.0.0", 4 "version": "1.0.1",
5 "license": "MIT", 5 "license": "MIT",
6 "repository": "https://github.com/sharkpp/franz-recipe-misskey", 6 "repository": "https://github.com/sharkpp/franz-recipe-misskey",
7 "config": { 7 "config": {
diff --git a/recipes/misskey/webview.js b/recipes/misskey/webview.js
index b024ce1..c174266 100644
--- a/recipes/misskey/webview.js
+++ b/recipes/misskey/webview.js
@@ -1,5 +1,5 @@
1module.exports = (Ferdi) => { 1module.exports = (Ferdi) => {
2 const getMessages = function getMessages() { 2 const getMessages = () => {
3 // check notification badge for Ferdi badge 3 // check notification badge for Ferdi badge
4 let hasNotification = !!document.querySelector('#app div.notifications > button > i.circle'); 4 let hasNotification = !!document.querySelector('#app div.notifications > button > i.circle');
5 Ferdi.setBadge(0, hasNotification ? 1 : 0); 5 Ferdi.setBadge(0, hasNotification ? 1 : 0);