]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Added ability to reply to comments with remote interaction
authorPoslovitch <poslovitch@bentobox.world>
Sat, 24 Apr 2021 21:17:27 +0000 (21:17 +0000)
committerChocobozzz <chocobozzz@cpy.re>
Mon, 26 Apr 2021 09:18:52 +0000 (11:18 +0200)
Implements https://github.com/Chocobozzz/PeerTube/issues/3725

client/src/app/+videos/+video-watch/comment/video-comment.component.html

index 4592c9c6907858d0f2ec5290b3aed6bb9ee3806c..2b0739261dfa738e5419b651719f939b727a84cf 100644 (file)
@@ -35,7 +35,7 @@
         ></div>
 
         <div class="comment-actions">
-          <div *ngIf="isUserLoggedIn()" tabindex=0 (click)="onWantToReply()" class="comment-action-reply" i18n>Reply</div>
+          <div tabindex=0 (click)="onWantToReply()" class="comment-action-reply" i18n>Reply</div>
 
           <my-user-moderation-dropdown
             [prependActions]="prependModerationActions" tabindex=0 [buttonStyled]="false"
@@ -57,7 +57,7 @@
       </ng-container>
 
       <my-video-comment-add
-        *ngIf="!comment.isDeleted && isUserLoggedIn() && inReplyToCommentId === comment.id"
+        *ngIf="!comment.isDeleted && inReplyToCommentId === comment.id"
         [user]="user"
         [video]="video"
         [parentComment]="comment"