Commit bc9faa02 authored by Rodrigo Nascimento's avatar Rodrigo Nascimento

Do not show avatar for client

parent 03fc92d1
......@@ -4,7 +4,7 @@ Template.avatar.helpers
if not username? and this.userId?
username = Meteor.users.findOne(this.userId)?.username
if not username?
if not username? or Meteor.user()?.username is username
Session.get "avatar_random_#{username}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment