remove gravtar compute function as we are not using it, this is done in the chat api

This commit is contained in:
Henry Oswald 2014-07-08 14:19:27 +01:00
parent 521c7f9485
commit c5497a6c07

View file

@ -2,11 +2,6 @@ define [
"base"
], (App) ->
App.controller "ChatMessageController", ["$scope", "ide", ($scope, ide) ->
$scope.gravatarUrl = (user) ->
email = user.email.trim().toLowerCase()
hash = CryptoJS.MD5(email).toString()
return "//www.gravatar.com/avatar/#{hash}?d=mm&s=50"
$scope.hue = (user) ->
ide.onlineUsersManager.getHueForUserId(user.id)
]