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