X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-video-comment%2Fvideo-comment.model.ts;h=9a4e3954e5b2bdcf6bc6ddd6c9e2d7d3a9a01e5b;hb=fbdcd4ec9f549b730f8311512bcc0c0b7bc2db0a;hp=bf718ae082684840ae9ab6d19153dcdb781f7f6d;hpb=266947e5efc7ff30b0020beb5a74e4d4fc696fa5;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/shared-video-comment/video-comment.model.ts b/client/src/app/shared/shared-video-comment/video-comment.model.ts index bf718ae08..9a4e3954e 100644 --- a/client/src/app/shared/shared-video-comment/video-comment.model.ts +++ b/client/src/app/shared/shared-video-comment/video-comment.model.ts @@ -17,7 +17,6 @@ export class VideoComment implements VideoCommentServerModel { totalRepliesFromVideoAuthor: number totalReplies: number by: string - accountAvatarUrl: string isLocal: boolean @@ -38,7 +37,6 @@ export class VideoComment implements VideoCommentServerModel { if (this.account) { this.by = Actor.CREATE_BY_STRING(this.account.name, this.account.host) - this.accountAvatarUrl = Account.GET_ACTOR_AVATAR_URL(this.account) const absoluteAPIUrl = getAbsoluteAPIUrl() const thisHost = new URL(absoluteAPIUrl).host @@ -70,7 +68,6 @@ export class VideoCommentAdmin implements VideoCommentAdminServerModel { } by: string - accountAvatarUrl: string constructor (hash: VideoCommentAdminServerModel, textHtml: string) { this.id = hash.id @@ -97,7 +94,6 @@ export class VideoCommentAdmin implements VideoCommentAdminServerModel { if (this.account) { this.by = Actor.CREATE_BY_STRING(this.account.name, this.account.host) - this.accountAvatarUrl = Account.GET_ACTOR_AVATAR_URL(this.account) this.account.localUrl = '/accounts/' + this.by }