remove unless comments

pull/1178/head
Audric Ackermann 5 years ago
parent fc7daadd41
commit a2909c0b58
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -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),

Loading…
Cancel
Save