diff --git a/recipes/slack/package.json b/recipes/slack/package.json index 15138e633..404f6e931 100644 --- a/recipes/slack/package.json +++ b/recipes/slack/package.json @@ -1,7 +1,7 @@ { "id": "slack", "name": "Slack", - "version": "1.6.0", + "version": "1.6.1", "license": "MIT", "config": { "serviceURL": "https://{teamId}.slack.com", diff --git a/recipes/slack/webview.js b/recipes/slack/webview.js index f6b5af340..d7b4ea0a5 100644 --- a/recipes/slack/webview.js +++ b/recipes/slack/webview.js @@ -10,7 +10,7 @@ const SELECTOR_CHANNELS_UNREAD = module.exports = Ferdium => { const getMessages = () => { const directMessages = document.querySelectorAll( - `${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"])`, + `${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"])`, ).length; const allMessages = document.querySelectorAll(SELECTOR_CHANNELS_UNREAD).length -