aboutsummaryrefslogtreecommitdiffstats
path: root/recipes
diff options
context:
space:
mode:
Diffstat (limited to 'recipes')
-rw-r--r--recipes/telegram/package.json2
-rw-r--r--recipes/telegram/webview.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/recipes/telegram/package.json b/recipes/telegram/package.json
index d36e6f0..f873bb6 100644
--- a/recipes/telegram/package.json
+++ b/recipes/telegram/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "telegram", 2 "id": "telegram",
3 "name": "Telegram", 3 "name": "Telegram",
4 "version": "3.3.3", 4 "version": "3.3.4",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://web.telegram.org", 7 "serviceURL": "https://web.telegram.org",
diff --git a/recipes/telegram/webview.js b/recipes/telegram/webview.js
index de63cf3..544a573 100644
--- a/recipes/telegram/webview.js
+++ b/recipes/telegram/webview.js
@@ -6,10 +6,10 @@ function _interopRequireDefault(obj) {
6 6
7module.exports = Ferdium => { 7module.exports = Ferdium => {
8 const telegramVersion = document 8 const telegramVersion = document
9 .querySelector('meta[name="application-name"]') 9 .querySelector('meta[property="og:url"]')
10 ?.getAttribute('content'); 10 ?.getAttribute('content');
11 11
12 const isWebK = telegramVersion?.includes('WebK'); 12 const isWebK = telegramVersion?.includes('/k/');
13 13
14 // There are two different Telegram versions for internal competition 14 // There are two different Telegram versions for internal competition
15 // Read more: https://bugs.telegram.org/c/4002/public 15 // Read more: https://bugs.telegram.org/c/4002/public