aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/telegram/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/telegram/webview.js')
-rw-r--r--recipes/telegram/webview.js4
1 files changed, 2 insertions, 2 deletions
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