mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-12 00:35:03 +00:00
remove gravtar compute function as we are not using it, this is done in the chat api
This commit is contained in:
parent
521c7f9485
commit
c5497a6c07
1 changed files with 0 additions and 5 deletions
|
@ -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)
|
||||
]
|
Loading…
Add table
Reference in a new issue