From a2909c0b583635a552a35d9b65ce3c91a51caf99 Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Wed, 17 Jun 2020 12:10:27 +1000 Subject: [PATCH] remove unless comments --- js/notifications.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/js/notifications.js b/js/notifications.js index faa39f9fb..b5120bb6e 100644 --- a/js/notifications.js +++ b/js/notifications.js @@ -92,14 +92,7 @@ let message; let iconUrl; - // The number of notifications excluding session request - // FIXME do we need to filter out session request? - // I don't think the filter below might work also add this.models - // is created by Whisper.Notifications.add which as not this field const messagesNotificationCount = this.models.length; - // const messagesNotificationCount = this.models.filter( - // n => !n.get('isSessionRequest') - // ).length; // NOTE: i18n has more complex rules for pluralization than just // distinguishing between zero (0) and other (non-zero),