diff --git a/app/views/users/me.json.jbuilder b/app/views/users/me.json.jbuilder index e2d3693ae..c6f8cdc88 100644 --- a/app/views/users/me.json.jbuilder +++ b/app/views/users/me.json.jbuilder @@ -1,4 +1,4 @@ -json.username @user.full_name +json.username @user.full_name.to_s.each_char.select { |c| c.bytes.first < 240 }.join('') json.login @user.login json.user_id @user.id json.image_url url_to_avatar(@user)