From 6c7c25830e39f145e601995b338be945b6481a8a Mon Sep 17 00:00:00 2001 From: Citeopeht Eripmav <93918529+CiteopehtEripmav@users.noreply.github.com> Date: Sat, 22 Jul 2023 19:21:33 -0400 Subject: Update counter for Telegram webZ (#395) --- recipes/telegram/package.json | 2 +- recipes/telegram/webview.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'recipes') diff --git a/recipes/telegram/package.json b/recipes/telegram/package.json index 85f331f..31fc71d 100644 --- a/recipes/telegram/package.json +++ b/recipes/telegram/package.json @@ -1,7 +1,7 @@ { "id": "telegram", "name": "Telegram", - "version": "3.3.6", + "version": "3.3.7", "license": "MIT", "config": { "serviceURL": "https://web.telegram.org", diff --git a/recipes/telegram/webview.js b/recipes/telegram/webview.js index a4133ca..ee9e803 100644 --- a/recipes/telegram/webview.js +++ b/recipes/telegram/webview.js @@ -18,10 +18,10 @@ module.exports = (Ferdium, settings) => { let groupCount = 0; const directCountSelector = document.querySelectorAll( - '.chat-list .ListItem.private .Badge.unread:not(.muted)', + '.chat-list .ListItem.private .ChatBadge.unread:not(.muted)', ); const groupCountSelector = document.querySelectorAll( - '.chat-list .ListItem.group .Badge.unread:not(.muted)', + '.chat-list .ListItem.group .ChatBadge.unread:not(.muted)', ); for (const badge of directCountSelector) { -- cgit v1.2.3-54-g00ecf