]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/users/user.model.ts
Begin to add avatar to actors
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / users / user.model.ts
index 7a962ae3e424ea847a035ecb6e59e828e1d7eb03..83aae44639ce73fe1e2fb623a1bf70100b49e443 100644 (file)
@@ -57,7 +57,7 @@ export class User implements UserServerModel {
     return hasUserRight(this.role, right)
   }
 
-  getAvatarPath () {
-    return Account.GET_ACCOUNT_AVATAR_PATH(this.account)
+  getAvatarUrl () {
+    return Account.GET_ACCOUNT_AVATAR_URL(this.account)
   }
 }