Hides unread status from Electron app as well

pull/5373/head
Marcelo Schmidt 8 years ago
parent 625c123648
commit 156e65062d
No known key found for this signature in database
GPG Key ID: CA48C21A7B66097E
  1. 2
      client/startup/unread.js
  2. 1
      packages/rocketchat-i18n/i18n/en.i18n.json

@ -5,7 +5,7 @@ Meteor.startup(function() {
let unreadCount = 0;
let unreadAlert = false;
const subscriptions = ChatSubscription.find({open: true}, { fields: { unread: 1, alert: 1, rid: 1, t: 1, name: 1, ls: 1, unreadAlert: 1 } });
const subscriptions = ChatSubscription.find({open: true, hideUnreadStatus: { $ne: true }}, { fields: { unread: 1, alert: 1, rid: 1, t: 1, name: 1, ls: 1, unreadAlert: 1 } });
let openedRoomId = undefined;
Tracker.nonreactive(function() {

@ -403,6 +403,7 @@
"Desktop_Notifications_Enabled": "Desktop Notifications are Enabled",
"Direct_message_someone": "Direct message someone",
"Direct_Messages": "Direct Messages",
"Disable_Notifications": "Disable Notifications",
"Display_offline_form": "Display offline form",
"Displays_action_text": "Displays action text",
"Do_you_want_to_change_to_s_question": "Do you want to change to <strong>%s</strong>?",

Loading…
Cancel
Save