diff options
Diffstat (limited to 'uncompressed/clubhouse/webview.js')
-rw-r--r-- | uncompressed/clubhouse/webview.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/uncompressed/clubhouse/webview.js b/uncompressed/clubhouse/webview.js index b16ab05..51cd09d 100644 --- a/uncompressed/clubhouse/webview.js +++ b/uncompressed/clubhouse/webview.js | |||
@@ -1,9 +1,8 @@ | |||
1 | module.exports = (Ferdi) => { | 1 | module.exports = (Ferdi) => { |
2 | function getMessages() { | 2 | function getMessages() { |
3 | let unread = 0; | ||
4 | const hasNotifications = document.querySelector('#notifications-link .badge').classList.contains('visible'); | 3 | const hasNotifications = document.querySelector('#notifications-link .badge').classList.contains('visible'); |
5 | if (hasNotifications) { | 4 | if (hasNotifications) { |
6 | Ferdi.setBadge(1); | 5 | Ferdi.setBadge(0, 1); |
7 | } | 6 | } |
8 | } | 7 | } |
9 | 8 | ||