Fix sound of new room

pull/2652/merge
Rodrigo Nascimento 9 years ago
parent 9fe4e49c1a
commit 286e3b713b
  1. 6
      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
@ -54,8 +54,8 @@ Template.chatRoomItem.events
when this.t == 'c' then 'Hide_Room_Warning'
when this.t == 'p' then 'Hide_Group_Warning'
when this.t == 'd' then 'Hide_Private_Warning'
swal {
title: t('Are_you_sure')
text: t(warnText, name)

Loading…
Cancel
Save