diff options
Diffstat (limited to 'recipes/slack')
-rw-r--r-- | recipes/slack/package.json | 2 | ||||
-rw-r--r-- | recipes/slack/webview.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes/slack/package.json b/recipes/slack/package.json index 15138e6..404f6e9 100644 --- a/recipes/slack/package.json +++ b/recipes/slack/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "slack", | 2 | "id": "slack", |
3 | "name": "Slack", | 3 | "name": "Slack", |
4 | "version": "1.6.0", | 4 | "version": "1.6.1", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://{teamId}.slack.com", | 7 | "serviceURL": "https://{teamId}.slack.com", |
diff --git a/recipes/slack/webview.js b/recipes/slack/webview.js index f6b5af3..d7b4ea0 100644 --- a/recipes/slack/webview.js +++ b/recipes/slack/webview.js | |||
@@ -10,7 +10,7 @@ const SELECTOR_CHANNELS_UNREAD = | |||
10 | module.exports = Ferdium => { | 10 | module.exports = Ferdium => { |
11 | const getMessages = () => { | 11 | const getMessages = () => { |
12 | const directMessages = document.querySelectorAll( | 12 | const directMessages = document.querySelectorAll( |
13 | `${SELECTOR_CHANNELS_UNREAD} .p-channel_sidebar__badge, .p-channel_sidebar__link--unread:not([data-sidebar-link-id="Punreads"]):not([data-sidebar-link-id="Pdrafts"]):not([data-sidebar-link-id="Pdms"])`, | 13 | `${SELECTOR_CHANNELS_UNREAD} .p-channel_sidebar__badge, .p-channel_sidebar__link--unread:not([data-sidebar-link-id="Punreads"]):not([data-sidebar-link-id="Pdrafts"]):not([data-sidebar-link-id="Pdms"]):not([data-sidebar-link-id="Ppaid-benefits"])`, |
14 | ).length; | 14 | ).length; |
15 | const allMessages = | 15 | const allMessages = |
16 | document.querySelectorAll(SELECTOR_CHANNELS_UNREAD).length - | 16 | document.querySelectorAll(SELECTOR_CHANNELS_UNREAD).length - |