From 18801ed0c02627e87639dc0848cab44dacc18be2 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Mon, 18 Apr 2022 06:51:50 -0500 Subject: Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2) --- recipes/xmpp/index.js | 2 +- recipes/xmpp/package.json | 2 +- recipes/xmpp/webview.js | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'recipes/xmpp') diff --git a/recipes/xmpp/index.js b/recipes/xmpp/index.js index 23607bd..dd41f72 100644 --- a/recipes/xmpp/index.js +++ b/recipes/xmpp/index.js @@ -1 +1 @@ -module.exports = Ferdi => Ferdi; +module.exports = Ferdium => Ferdium; diff --git a/recipes/xmpp/package.json b/recipes/xmpp/package.json index abef897..97bf94b 100644 --- a/recipes/xmpp/package.json +++ b/recipes/xmpp/package.json @@ -1,7 +1,7 @@ { "id": "xmpp", "name": "XMPP", - "version": "1.0.1", + "version": "1.1.0", "license": "MIT", "repository": "https://github.com/Aman9das/ferdi-xmpp-recipe", "config": { diff --git a/recipes/xmpp/webview.js b/recipes/xmpp/webview.js index dec648c..399133d 100644 --- a/recipes/xmpp/webview.js +++ b/recipes/xmpp/webview.js @@ -1,13 +1,13 @@ -module.exports = (Ferdi) => { +module.exports = (Ferdium) => { function getMessages() { let direct = 0; for (const indicator of document.querySelectorAll('.msgs-indicator')) { - direct += Ferdi.safeParseInt(indicator.textContent) + direct += Ferdium.safeParseInt(indicator.textContent) } direct = direct / 2 // as the messages are provided in 2 different locations.. - Ferdi.setBadge(direct); + Ferdium.setBadge(direct); } - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); }; -- cgit v1.2.3-54-g00ecf