style change

pull/9312/head
RationalCoding 8 years ago
parent 4d344b8f11
commit 91724e67f2
  1. 4
      client/notifications/notification.js

@ -43,8 +43,7 @@ Meteor.startup(function() {
KonchatNotification.newMessage(notification.payload.rid);
KonchatNotification.showDesktop(notification);
}
} else {
if (!hasFocus || !messageIsInOpenedRoom) {
} else if (!hasFocus || !messageIsInOpenedRoom) {
// Play a sound and show a notification.
KonchatNotification.newMessage(notification.payload.rid);
KonchatNotification.showDesktop(notification);
@ -52,7 +51,6 @@ Meteor.startup(function() {
// Play a notification sound
KonchatNotification.newMessage(notification.payload.rid);
}
}
});
RocketChat.Notifications.onUser('audioNotification', function(notification) {

Loading…
Cancel
Save