Fixed notice on console when logging out

pull/515/head
Marcelo Schmidt 11 years ago
parent 9e602a6d44
commit 1393cfe4f9
  1. 2
      client/views/app/room.coffee

@ -153,7 +153,7 @@ Template.room.helpers
return roomData.u?._id is Meteor.userId() and roomData.t in ['c', 'p']
canDirectMessage: ->
return Meteor.user().username isnt this.username
return Meteor.user()?.username isnt this.username
roomNameEdit: ->
return Session.get('roomData' + this._id)?.name

Loading…
Cancel
Save