Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Use this.user.account.id instead of recall authService.getUser()

kimsible230c3ba24b49
diff --git a/client/src/app/+videos/+video-watch/comment/video-comment.component.ts b/client/src/app/+videos/+video-watch/comment/video-comment.component.ts
index 17e7e28ca4..2d8b9eefe5 100644
--- a/client/src/app/+videos/+video-watch/comment/video-comment.component.ts
+++ b/client/src/app/+videos/+video-watch/comment/video-comment.component.ts
@@ -125,7 +125,7 @@ export class VideoCommentComponent implements OnInit, OnChanges {
this.comment.account &&
this.isUserLoggedIn() &&
this.comment.isDeleted === false &&
- this.authService.getUser().account.id !== this.comment.account.id
+ this.user.account.id !== this.comment.account.id
)
}