X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2F%2Bvideo-watch%2Fcomment%2Fvideo-comment.component.ts;h=868addd5894cad98f1ad06fd9a4aa0b87140c703;hb=fde37dc99c0ca43021ac3d1b3537f095ee6114b7;hp=1313b658534e4e5b03b1efcda274787f7918cb7d;hpb=298b3fd31529c047e87d34d397af3b08833bd8d0;p=github%2FChocobozzz%2FPeerTube.git 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 1313b6585..868addd58 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 @@ -98,6 +98,7 @@ export class VideoCommentComponent implements OnInit, OnChanges { return this.comment.account && this.isUserLoggedIn() && ( this.user.account.id === this.comment.account.id || + this.user.account.id === this.video.account.id || this.user.hasRight(UserRight.REMOVE_ANY_VIDEO_COMMENT) ) }