mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
remove gravtar compute function as we are not using it, this is done in the chat api
This commit is contained in:
@@ -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)
|
||||
]
|
||||
Reference in New Issue
Block a user