 
 	'focus .input-message': (event) ->
 		console.log 'room focus .input-message' if window.rocketDebug
-		KonchatNotification.removeRoomNotification(FlowRouter.getParam('_id'))
+		KonchatNotification.removeRoomNotification @_id
 
 	'keyup .input-message': (event) ->
-		console.log 'room keyup .input-message',FlowRouter.getParam('_id') if window.rocketDebug
-		ChatMessages.keyup(FlowRouter.getParam('_id'), event, Template.instance())
+		console.log 'room keyup .input-message', @_id if window.rocketDebug
+		ChatMessages.keyup(@_id, event, Template.instance())
 
 	'keydown .input-message': (event) ->
-		console.log 'room keydown .input-message',FlowRouter.getParam('_id') if window.rocketDebug
-		ChatMessages.keydown(FlowRouter.getParam('_id'), event, Template.instance())
-
-	# 'keydown .input-message-editing': (event) ->
-	# 	console.log 'room keydown .input-message-editing',this._id if window.rocketDebug
-	# 	ChatMessages.keydownEditing(this._id, event)
-
-	# 'blur .input-message-editing': (event) ->
-	# 	console.log 'room blur keydown blur .input-message-editing',this._id if window.rocketDebug
-	# 	ChatMessages.stopEditingLastMessage()
+		console.log 'room keydown .input-message', @_id if window.rocketDebug
+		ChatMessages.keydown(@_id, event, Template.instance())
 
 	'click .message-form .icon-paper-plane': (event) ->
 		console.log 'room click .message-form .icon-paper-plane' if window.rocketDebug
 		input = $(event.currentTarget).siblings("textarea")
-		ChatMessages.send(FlowRouter.getParam('_id'), input.get(0))
+		ChatMessages.send(this._id, input.get(0))
 
 	'click .add-user': (event) ->
 		console.log 'room click click .add-user' if window.rocketDebug


	'click button.load-more': (e) ->
		console.log 'room click button.load-more' if window.rocketDebug
		RoomHistoryManager.getMore FlowRouter.getParam('_id')

	'autocompleteselect #user-add-search': (event, template, doc) ->
		console.log 'room autocompleteselect #user-add-search' if window.rocketDebug

						if i.msRequestFullscreen
							i.msRequestFullscreen()

	'click .toggle-favorite': (event) ->
		console.log 'room click .toggle-favorite' if window.rocketDebug
		event.stopPropagation()
		event.preventDefault()
		Meteor.call 'toogleFavorite', @_id, !$('i', event.currentTarget).hasClass('favorite-room')

	'click .join': (event) ->
		console.log 'room click .join' if window.rocketDebug
		event.stopPropagation()
		event.preventDefault()
		Meteor.call 'joinRoom', @_id

	"click .burger": ->
		console.log 'room click .burger' if window.rocketDebug
