aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/messenger
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-17 01:38:50 +0530
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-17 01:38:50 +0530
commitfc58230e6d229acb0573fc10b6fc4fd451c87c9c (patch)
treef26a9b8abe0625da06c0d5d1216c8faa34be160c /recipes/messenger
parentChanged license filename and the new license-holders (diff)
downloadferdium-recipes-fc58230e6d229acb0573fc10b6fc4fd451c87c9c.tar.gz
ferdium-recipes-fc58230e6d229acb0573fc10b6fc4fd451c87c9c.tar.zst
ferdium-recipes-fc58230e6d229acb0573fc10b6fc4fd451c87c9c.zip
Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2)
Diffstat (limited to 'recipes/messenger')
-rw-r--r--recipes/messenger/package.json2
-rw-r--r--recipes/messenger/webview.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/recipes/messenger/package.json b/recipes/messenger/package.json
index 2d1cddc..d3a50a0 100644
--- a/recipes/messenger/package.json
+++ b/recipes/messenger/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "messenger", 2 "id": "messenger",
3 "name": "Messenger", 3 "name": "Messenger",
4 "version": "1.3.3", 4 "version": "1.4.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://messenger.com", 7 "serviceURL": "https://messenger.com",
diff --git a/recipes/messenger/webview.js b/recipes/messenger/webview.js
index d2d85fe..45b4460 100644
--- a/recipes/messenger/webview.js
+++ b/recipes/messenger/webview.js
@@ -6,14 +6,14 @@ module.exports = Ferdi => {
6 6
7 /* 7 /*
8 * Notification case for group chats, workaround by tamas646 8 * Notification case for group chats, workaround by tamas646
9 * see https://github.com/getferdi/ferdi/issues/1113#issuecomment-783409154 9 * see https://github.com/ferdium/ferdium-app/issues/1113#issuecomment-783409154
10 */ 10 */
11 if (isNotification) { 11 if (isNotification) {
12 count = Ferdi.safeParseInt(/^\((\d+)\)/.exec(document.title)[1]); 12 count = Ferdi.safeParseInt(/^\((\d+)\)/.exec(document.title)[1]);
13 } else { 13 } else {
14 /* 14 /*
15 * Notification case for direct messages, workaround by manavortex 15 * Notification case for direct messages, workaround by manavortex
16 * see https://github.com/getferdi/ferdi/issues/1113#issuecomment-846611765 16 * see https://github.com/ferdium/ferdium-app/issues/1113#issuecomment-846611765
17 */ 17 */
18 count = document.querySelectorAll( 18 count = document.querySelectorAll(
19 '._5fx8:not(._569x),._1ht3:not(._569x)', 19 '._5fx8:not(._569x),._1ht3:not(._569x)',