AvatarService fix. Get username for accounts with uploaded photo
parent
f594bff094
commit
62d5548d42
|
@ -72,7 +72,8 @@ class AvatarService
|
|||
|
||||
if photo
|
||||
return {
|
||||
url: photo
|
||||
url: photo,
|
||||
username: username
|
||||
}
|
||||
else if location.host.indexOf('localhost') != -1 || !@config.get("gravatar", true)
|
||||
root = location.protocol + '//' + location.host
|
||||
|
|
Loading…
Reference in New Issue