aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Anton Sudak <anton.sudak@gmail.com>2021-11-26 11:34:00 +0200
committerLibravatar GitHub <noreply@github.com>2021-11-26 15:04:00 +0530
commit5d0a8c596bac2776b0d9fdccadc308a2ac91b58d (patch)
tree976136dafeb6360cb2d331ad3d533c9f4481ff17
parentFix Protonmail unread counter (#773) (diff)
downloadferdium-recipes-5d0a8c596bac2776b0d9fdccadc308a2ac91b58d.tar.gz
ferdium-recipes-5d0a8c596bac2776b0d9fdccadc308a2ac91b58d.tar.zst
ferdium-recipes-5d0a8c596bac2776b0d9fdccadc308a2ac91b58d.zip
Fix skype notification counter for non-English locales(fixes #763) (#775)
-rw-r--r--all.json2
-rw-r--r--recipes/skype/package.json2
-rw-r--r--recipes/skype/webview.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/all.json b/all.json
index 6275373..00351a5 100644
--- a/all.json
+++ b/all.json
@@ -1467,7 +1467,7 @@
1467 "featured": false, 1467 "featured": false,
1468 "id": "skype", 1468 "id": "skype",
1469 "name": "Skype", 1469 "name": "Skype",
1470 "version": "3.2.2", 1470 "version": "3.2.3",
1471 "icons": { 1471 "icons": {
1472 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/skype/icon.svg" 1472 "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/recipes/skype/icon.svg"
1473 } 1473 }
diff --git a/recipes/skype/package.json b/recipes/skype/package.json
index 9aa8686..9727a06 100644
--- a/recipes/skype/package.json
+++ b/recipes/skype/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "skype", 2 "id": "skype",
3 "name": "Skype", 3 "name": "Skype",
4 "version": "3.2.2", 4 "version": "3.2.3",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://web.skype.com/", 7 "serviceURL": "https://web.skype.com/",
diff --git a/recipes/skype/webview.js b/recipes/skype/webview.js
index d9775dd..7c07ee1 100644
--- a/recipes/skype/webview.js
+++ b/recipes/skype/webview.js
@@ -5,7 +5,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
5module.exports = (Ferdi, settings) => { 5module.exports = (Ferdi, settings) => {
6 const getMessages = () => { 6 const getMessages = () => {
7 let count = 0; 7 let count = 0;
8 const container = document.querySelector('[role="tablist"] > [title="Chats"] > div'); 8 const container = document.querySelector('[role="tablist"] > button > div');
9 9
10 if (container) { 10 if (container) {
11 const children = container.children; 11 const children = container.children;