Fix sound of new room

pull/2652/merge
Rodrigo Nascimento 9 years ago
parent 9fe4e49c1a
commit 286e3b713b
  1. 2
      packages/rocketchat-ui-sidenav/side-nav/chatRoomItem.coffee

@ -35,7 +35,7 @@ Template.chatRoomItem.helpers
return RocketChat.roomTypes.getRouteLink @t, @
Template.chatRoomItem.rendered = ->
if not (FlowRouter.getParam('_id')? and FlowRouter.getParam('_id') is this.data.rid) and not this.data.ls
if not (FlowRouter.getParam('_id')? and FlowRouter.getParam('_id') is this.data.rid) and not this.data.ls and this.data.alert is true
KonchatNotification.newRoom(this.data.rid)
Template.chatRoomItem.events

Loading…
Cancel
Save