Skip to content
Snippets Groups Projects
Commit 1393cfe4 authored by Marcelo Schmidt's avatar Marcelo Schmidt
Browse files

Fixed notice on console when logging out

parent 9e602a6d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment