 
 			navigator.geolocation.watchPosition success, error
 		else
-			@location.set false
+			RocketChat.Geolocation.set false

			return 'show-send'

	showLocation: ->
		return Template.instance().location.get() isnt false

	notSubscribedTpl: ->
		return RocketChat.roomTypes.getNotSubscribedTpl @_id

	@isMessageFieldEmpty = new ReactiveVar true
	@showMicButton = new ReactiveVar false
	@showVideoRec = new ReactiveVar false

	@autorun =>
		videoRegex = /video\/webm|video\/\*/i
